miwis
Junior Member
Posts: 3
Registered: 6/21/2006
Member Is Offline
|
| posted on 6/21/2006 at 04:32 AM |
|
|
using readonly field prolem!
once user select the date form the calendar, is there any way to remove the value from "readonly" field? (without re-selecting another date...)
i'm using readonly field coz its easier to avoid the date validation...
Calendar works perfect...
Thanks you!
MIWIS
|
|
|
tigra
Administrator
Posts: 1905
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 6/21/2006 at 09:16 AM |
|
|
you can add a button or link to reset the field, something like:
<input type="button" value="Reset Date" onclick="document.forms['formname'].elements['datefield'].value = ''">
where formname and datefield replaced the actual names from your HTML document.
|
|
|
miwis
Junior Member
Posts: 3
Registered: 6/21/2006
Member Is Offline
|
| posted on 6/22/2006 at 12:08 AM |
|
|
Yes! that’s much better idea than what i was thinking...really appreciate the help!
Its working perfectly now...
Thank you!
MIWIS
|
|
|