Do I need to refer jQuery file both in Master page/base page/template page and content page?

 Posted by Sheonarayan on 7/20/2011 | Category: jQuery Interview questions | Views: 4638 | Points: 40
Answer:

No, master page/base page/ template page basically helps to create consistent layout for the page in the application. In case you have referred the jQuery file in master page/base page/ template page that cause rendering the file in the browser, you do not need to refer jQuery file the content page again.

In summary, there should not be more than one <script> tag with jQuery file reference in the source code of the rendered web page in the browser.


Source: http://itfunda.com/jquery-how- | | Alert Moderator 

Comments or Responses

Login to post response