Click here to Skip to main content
16,012,025 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello
I have a textbox which shows calendar when user click inside the textbox.....

In this calendar the individual system date and time displays.....But I need the server date and time to display as current date and time in calendar....

what will be the solution
Posted
Comments
Maciej Los 16-May-12 9:27am    
What kind of server? SQL?

1 solution

Since JavaScript is client-side and you want data from the server you will need to implement so type of AJAX method to query for the date and time. There are many AJAX examples that use the server date/time to demonstrate functionality so it should not be difficult to find help.
 
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