jQuery not working when ASP.Net website hosted in IIS 5.1

Ramki
 
on Aug 20, 2013 01:01 AM
5540 Views

Hi,

I have used 

Asp.net Javascript Countdown clock timer for each row of gridview( http://www.cjavaphp.com/q/answers-asp-net-javascript-countdown-clock-timer-for-each-row-of-a-gridview-16379412.html ).

Its working fine forme.

After placing iis 5.1. its not working. let me know what is the problem of this code.

Thanks in advance.

 

Download FREE API for Word, Excel and PDF in ASP.Net: Download
Mudassar
 
on Aug 20, 2013 01:03 AM

jQuery is not the problem its path is the problem. Hence make use of ResolveUrl method to declare jQuery

 <script src='<%=ResolveUrl("~/scripts/jquery-1.4.2.js") %>' type="text/javascript"></script>