genius_geek
asked on
jquery datepicker
I am facing a very weird situation.
I downloaded the source code of datepicker from http://jqueryui.com/demos/datepicker/default.html
i saved default.html on c:
when i run c:\default.html it works perfectly fine.
i copied the same file to my server and ran it from server http://10.0.1.2/default.html
it does not work????
I have been trying to figure out this since more than a week now. Please advice.
I downloaded the source code of datepicker from http://jqueryui.com/demos/datepicker/default.html
i saved default.html on c:
when i run c:\default.html it works perfectly fine.
i copied the same file to my server and ran it from server http://10.0.1.2/default.html
it does not work????
I have been trying to figure out this since more than a week now. Please advice.
It looks like the server ip is not actually available on the Internet?
ASKER
it is not. it is a local ip on the development machine. but that is not an issue...
i mentioned the ip to give a reference. only i can access the ip. i have many other pages on the ip, php, other jquery dynamic forms... they all work fine with the ip.
The point is datepicker is not working.
i mentioned the ip to give a reference. only i can access the ip. i have many other pages on the ip, php, other jquery dynamic forms... they all work fine with the ip.
The point is datepicker is not working.
OK, and forgive me if I say the obvious, but you have double checked the links on the page, the script url's, etc. and they all check out as being connected and the files are being accessed correctly?
ASKER
i think its the problem with script urls and link urls... since i am a beginner at jquery, i dont hv basic foundation knowledge of what scripts are compulsory while using jquery ui
this is all i have
I need someone to help me identify, if something is missing? or is anything not required?
this is all i have
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="http://jqueryui.com/themes/base/jquery.ui.all.css">
<link rel="stylesheet" href="http://jqueryui.com/demos/demos.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script>
<script src="http://jqueryui.com/ui/jquery.ui.core.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.js"></script>
<script src="http://jqueryui.com/ui/jquery.ui.widget.js"></script>
<script src="http://jqueryui.com/ui/jquery.ui.datepicker.js"></script>
I need someone to help me identify, if something is missing? or is anything not required?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The only problem I see with sonawanekiran's solution is that it relies on a third party's site, in this case ajax.googleapis.com. If that's what you want to do, you can do that as well, but my solution provides greater flexibility, reliability, speed, control and customization.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks nguyen. it was a perfect demo & solution.
thanks sonawanekiran and omniunlimited. cheers.
thanks sonawanekiran and omniunlimited. cheers.