Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Implementing a CLEAR button in an HTML form
Message
 
À
03/07/2001 13:16:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00526393
Message ID:
00526409
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform