moreta
08-26-2004, 11:21 AM
I'd like to set the initial value for <input type="text"> to today's date. I've been doing this server-side (when the page is generated), but it would be helpful to do it on the fly.
The JS function that generates today's date is working correctly, but not with value. The syntax that works with events isn't working with value. I've tried every variation that I can think of <input name="test" type="text" value=????>. Am I completely off the mark on this?
Thank you,
Moreta
The JS function that generates today's date is working correctly, but not with value. The syntax that works with events isn't working with value. I've tried every variation that I can think of <input name="test" type="text" value=????>. Am I completely off the mark on this?
Thank you,
Moreta