+ Start a Discussion
anjisalesforce@gmail.comanjisalesforce@gmail.com 

How to use JQuery in salesforce.com?

Hi all,

 

How to use JQuery in salesforce.com?

 

Cann you please provide any pdf with Examples

 

Thanks for your help.......

Best Answer chosen by Admin (Salesforce Developers) 
Damien_Damien_
<apex:includeScript value="{!$Resource.jQueryv164}" />
<head>
  <script type="text/javascript">
    var j$ = jQuery.noConflict();
  </script>
</head>

 

Make sure you put jQuery in your static resources first.  From here you can use it exactly like you would on any other html page.

 

FYI-This would probably have better suited the Visualforce boards since its not related to Apex.

All Answers

Damien_Damien_
<apex:includeScript value="{!$Resource.jQueryv164}" />
<head>
  <script type="text/javascript">
    var j$ = jQuery.noConflict();
  </script>
</head>

 

Make sure you put jQuery in your static resources first.  From here you can use it exactly like you would on any other html page.

 

FYI-This would probably have better suited the Visualforce boards since its not related to Apex.

This was selected as the best answer
JonathanMClarkeJonathanMClarke

THANK YOU!!!! finally got my flexslider working