Guest kvn_viswanath Posted March 28, 2006 Share Posted March 28, 2006 hi friends, i created a dynamic calendar and displaying it in a text box, now i took another text box where i am calling the same calendar code. i am now able to display the calendar in both the text boxes. But now i want to enter larger date in text box1 than text box2.Send the validations or code to read the date given in a text box and then compare it with date in another text box. Link to comment Share on other sites More sharing options...
KeenEyeLearner Posted March 28, 2006 Share Posted March 28, 2006 dear viswanathWhat do you mean by displaying a calendar in a textbox? Do you mean a date string in a textbox? Do you want to enter date ( dd/mm/yyyy format ) in both the textbox's and then check which one is greater? If thats the problem, then i guess you will have to do some string manipulations. I had a similar problem earlier and i found that javascript does not have any special date manipulation functions ( i guess ). Link to comment Share on other sites More sharing options...
pulpfiction Posted March 28, 2006 Share Posted March 28, 2006 Hi Viswa, check out this link,http://www.suite101.com/article.cfm/javascript/61279 Link to comment Share on other sites More sharing options...
KeenEyeLearner Posted March 29, 2006 Share Posted March 29, 2006 WOWThats a cool link.... straight solution on a plate....Wish you could find such a solution to my problem at the web services thread at"http://w3schools.invisionzone.com/index.php?showtopic=3476" Link to comment Share on other sites More sharing options...
pulpfiction Posted March 29, 2006 Share Posted March 29, 2006 hi keeneyelearner,Sorry frnd, i have no knowledge in web services... Link to comment Share on other sites More sharing options...
KeenEyeLearner Posted March 30, 2006 Share Posted March 30, 2006 No problem mate. I am banging my head on the net.... something will definately come out. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now