Tell me do I need to add the jquery file both at the master page and content page as well?



Tell me do I need to add the jquery file both at the master page and content page as well?..

Answer / Kailash Kumar

In most cases, you only need to include the jQuery library once in your project. Typically, this is done on the master page or a separate JavaScript file that's loaded at the top of the HTML document. If your content pages also have custom jQuery code, you can either include it directly within each content page or load it from an external file. However, to ensure proper functionality and avoid conflicts with other scripts, make sure you use a consistent version of jQuery across all pages.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More jQuery Interview Questions

What is the use of jQuery.data() method?

1 Answers  


Explain cdn in jquery?

1 Answers  


Why jQuery is better than JavaScript?

1 Answers  


Why html 5 inputs look different across devices and browsers? : jquery mobile

1 Answers  


How to find all sibling elements after the current element using ?

1 Answers  


What is the use of jquery .each() function?

1 Answers  


How we can check if an element is empty or not using jquery?

1 Answers  


What are the advantage of using cdn? : jquery mobile

1 Answers  


What is the difference between $('div') and $('<div/>') in jQuery?

1 Answers  


How can we apply css in div using jquery?

1 Answers  


Do you have plans for a new jquery plug-in or something else we should look out for? Where to from here for the imgpreview plugin?

0 Answers  


What is a use of jquery filter?

1 Answers  


Categories