Can I use jquery in one method of a page?
Example:
methods: {
methodTest: function() {
...
$("span:contains(\"Test\"")"").each(function() { ...
File attachments
Like
3 comments
13:47 Aug 11, 2017
Dear Ezequiel Raul Gomez,
In order to use JQuery on the page, please add it to the dependancies of the page. Please see the example below:
define("OpportunityPageV2", ["jQuery"], function(jQuery) { return {....
Be sure to add jQuery to both [] and () brackets.
Hope you find this helpful.
Regerds,
Anastasia
Show all comments