I ran across this nice javascript today. It’s a script that will auto-validate the Month when entering in dates.
It’ll check if you put in a number, or a month shorthand (jan, feb, etc) and then auto-replace the value.
Interesting. I don’t know if I would go this route for date-entering. I think I would go the form of some popup calendar, that seems to be much more the standard. Or a single input box (mm/dd/yy). But that’s just me. I do find that in terms of using this as a Proof-Of-Concept on auto-changing an input based on values, this is nice. (via)
Tagged As Javascript
Comments are Open (0)
Posted at 06:11 AM