Click here to Skip to main content
14,879,139 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have an .aspx file that loads several .js files locally, e.g.
<pre lang="Javascript">    <script src="../Scripts/jquery.ui.datepicker.js" type="text/javascript"></script>

The datePicker function worked well.
This .aspx used to be just under the Project. After I moved the .aspx into a folder, the date picker function does not work any more. I would guess the jquery.ui.datepicker.js may not be loaded. What correction should I made to make it work? Thanks in advance if you view my thread and also provide your hint.
Posted
Comments
[no name] 5-Feb-14 11:12am
   
Referring http://jqueryui.com/datepicker/, I changed the code as:
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.9.1.js"></script>
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css">
Still not working. Hopefully you can hint me how to fix it. Thanks.

1 solution

I got the problem solved as finding that the textbox was set Enabled="false". After remove this piece of code, it works well.
   

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

  Print Answers RSS
Top Experts
Last 24hrsThis month



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