Question

Use JQuery in EntityPage

Can I use jquery in one method of a page?

Example:

methods: {

methodTest: function() {

...

$("span:contains(\"Test\"")"").each(function() { ...

File attachments

Like

3 comments

 

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

Hi Sir/Madam,

Please tell me how do we load jquery.min.js and perform an action on trigger of an event?

Regards

Raghu Ram

Anastasia Botezat,

Thank you

Show all comments