home123 Posted November 5, 2006 Share Posted November 5, 2006 HiI wanted to know how can i make an input box so the user puts in the time in the time format without making any possible mistakes. I want to do something like when you need to put the time into windows.also to put in a date how can i make it possible to view a callender?Thank you Link to comment Share on other sites More sharing options...
Webworldx Posted November 11, 2006 Share Posted November 11, 2006 You'd have to create the calendar yourself from scratch in javascript (it's quite fun if you want to give it a go).With the time, do validation on key down, create a variable with the string and the letter pressed include it and see if it validates correctly. If not, cancel the key down. You could just use drop down boxes though and save yourself the trouble? 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