JQuery Developer Question:

Download Job Interview Questions and Answers PDF

Do I need to add the JQuery file both at the Master page and Content page as well?

JQuery Developer Interview Question
JQuery Developer Interview Question

Answer:

No, if the Jquery file has been added to the master page then we can access the content page directly without adding any reference to it.
This can be done using this simple example:
<script type="text/javascript" src="jQuery-1.4.1-min.js"></script>

Download JQuery Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Can you please explain the difference between onload() and document.ready() function used in jQuery?What methods used to provide effects in JQuery?