pjSoni wrote:
I need Javascript text boxt which automatically includes space and
character for date when anyone comes text box should looks like
'yyyy-mm-dd'. When pressing each character converting in to typed
number.
There's a lot of masking codes on the internet, on my site there are two
that you can take a look:
#1 <URL:http://jsfromhell.com/forms/restrict>: My friend has done this
one, it also checks the current character position, so it works
reasonably right.
#2 <URL:http://jsfromhell.com/forms/masked-input>: I was taking a look
at this old code and it's horrible, I'll change as soon as I get some
motivation... =/
--
Jonas Raoni Soares Silva
http://www.jsfromhell.com