Using jQuery with myRealPage custom layouts

In order to use jQuery with myRealPage custom layouts, you need to set jQuery library into the “noConflict” mode. This is what your code that includes jquery should look like:


Note, the: window.$j = jQuery.noConflict(); This assigns the typical “$” jQuery symbol to the “$j” symbol which you can now use instead throughout your code. For example, instead of using this:

$( “.some-element” ).each( …. )

You will use this:

$j( “.some-element” ).each( … )

 
Subscribe To Our Blog
No Comments

Leave a Comment:

[if lte IE 8]
[if lte IE 8]
[if lte IE 8]
[if lte IE 8]
[if lte IE 8]
[if lte IE 8]
[if lte IE 8]
[if lte IE 8]
[if lte IE 8]
[if lte IE 8]