My JavaScript is not working when i implement URL Routing in my asp.net application.....
There is problem of path ...
the source path i am adding in the head section of the page is recognized by the Browser....
If anybody know how to solve this problem please help me........
Here is some sample code :-
<pre lang="Javascript"><pre lang="Javascript"><pre lang="Javascript">
<head id="Head1">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="../jscripts/jquery-1.4.1.js" type="text/javascript"></script>
<script src="../../jscripts/jquery.helper.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$("a#show-panel").click(function () {
$("#lightbox, #LightBox-Hide").fadeIn(300);
})
$("a#close-panel").click(function () {
$("#lightbox, #LightBox-Hide").fadeOut(300);
})
})
</script>
</head>
when view the page in the browser the javascript functionality asscoiated with these jquery files is not working even CDN is not working.
when debug i found that these files are not means there is some path problem...
without routing this is working fine.