Click here to Skip to main content
15,886,664 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a web page with jquery what happen is that when I call a another web page using href attribute for a button then the 2nd page loads but the jquery
$(document).ready(function()
{abccscscs;});
does not get loaded. So when I am adding style sheet using jquery; which is not getting reflected on second page as it does on first page. So what can I do. Some one told me to call the whole page from jquery.Can any one tell me how can this be performed?? Thanks in advance..
Posted

1 solution

Hello Vipin,

There are two approaches to do that.

1. You can include your jquery library or other supporting javascript in all the .html or .aspx page inside head tag.
2. You can create one master and child page (this is done using Asp.net).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900