I have a custom button (which is a list button) and I'm requiring JQuery by the following code:
{!REQUIRESCRIPT("//code.jquery.com/jquery-1.10.2.js")}
It's working fine! The only problem is that it's taking too long to execute. If I click on the button right after the page is loaded, it doesn't run and I have to click again. The other standard Salesforce buttons work just as fast as when I do not require JQuery for the custom ones.
Does anyone know if there is a faster way to get JQuery?