JQuery code is not working on web pages.
Hi All,
I am new to JQuery. I have created an web based application on ASP.net in VS2010. In this, there is a master page Site.Master and that master page is applied to all pages in that application.
In default.aspx, I have written code using Jquery is:
- $(document).ready(function () {
- $("#accordion").accordion();
- });
This code does not work on default.aspx. When I moved this code to Site.Master is start working.
Can someone please resolve my this problem? We can not write all code into Site.mater page. So how to resolve this issue?
Any kind of help is welcome.
Thanks,
TA