Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello Steve Wellens,
Thank you for writting a good article on Jquery.
But I can't apply the Jquery in my asp.net code as it is not working properly .
Whenever I tried to debugg my program it fails execution .js file, which i have imported to operate the picker.
My sample is as,
<head>
<script src="Script/jquery.ui.widget.js" type="text/javascript"></script>
<link href="CSS/jquery.ui.all.css" rel="stylesheet" type="text/css" />
<script src="Script/jquery.ui.datepicker.js" type="text/javascript"></script>
<script src="Script/jquery-1.4.2.js" type="text/javascript"></script>

</head>



<script type="text/javascript">
     $(document).ready(DocReady);
    $(function() {
        $("#datepicker").datepicker();
    });
</script>


<body>
    <form id="form1;" runat="server;/><br mode=" hold=" /><asp:TextBox id=" datepicker=" runat=" server=" ><br mode="></form></body>
Posted
Updated 6-Sep-10 19:27pm
v2

1 solution

You should ask the author questions in the forum at the bottom of the article. You have asked this question in a general purpose forum. Most of us have no idea who Steve Wellens is.

That being said, your problem could be that you included the jQuery libraries in the wrong order... include jQuery first, then the UI stuff.
 
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