Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: using readonly field prolem!
miwis
Junior Member

Posts: 3
Registered: 6/21/2006
Member Is Offline
posted on 6/21/2006 at 04:32 AM Reply With Quote
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
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 6/21/2006 at 09:16 AM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
miwis
Junior Member

Posts: 3
Registered: 6/21/2006
Member Is Offline
posted on 6/22/2006 at 12:08 AM Reply With Quote

Yes! thata??s much better idea than what i was thinking...really appreciate the help!

Its working perfectly now...

Thank you!
MIWIS
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004