Is this possible? I’ve got one jquery file that is loaded in every page that uses the .load() event, but then a few select pages also require some specific jquery stuff where I’d like to use .load() again. Thanks for reading.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yep, that’s no worries.
The events will run in the order they were defined:
The above would append “ABC” to the page.
Interestingly, if you use the long-hand method, it completes in a different order:
This outputs “ACB”
Even more confusingly, if you only use the longhand, then it appears as though the first handler runs last and the rest in order: