Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Implementing a CLEAR button in an HTML form
Message
 
To
03/07/2001 13:16:16
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00526393
Message ID:
00526409
Views:
19
Sometimes the user may desire to clear one of the textareas before inserting text (instead of selecting all text and then deleting), to make things easy I decided to put a button labelled "Clear" that when pressed clears the contents of that textarea.

Inside the definition of the input type='button', you can add an
onclick='document.forms[0].TestClear.value=[]'

Put this inside your html form and give it a try. You have to clean up the quotes, UT wouldn't let me sent the the double quotes -- I'll try to send an attachment to an e-mail

Kevin
Kevin Emmrich
www.jkt9000.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform