Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Implementing a CLEAR button in an HTML form
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00526393
Message ID:
00526399
Vues:
19
Oops, 'Value' property should be 'value' - it is case sensitive...

>Hi!
>
>Put something like following in the INPUT tag for that button:
>onclick="this.form.NameOfTheTextArea.Value='';"
>I'm not sure about the reference to the form, maybe it should be 'FormName' instead of 'this.form' or something like that. Better post this in the HTML/WEB forum...
>
>HTH.
>
>>Hi,
>>
>>I have one HTML form with two textareas and a submit button. My program sends the HTML page with both textareas filled with some content, the user can edit them and press the submit button to send data back to the server app.
>>
>>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.
>>
>>How can I implement that?
>>
>>Thanks,
>>
>>Fernando
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform