Granger9
11-09-2003, 10:54 AM
Is it possible to change whats written on a form button using javascript?
|
Click to See Complete Forum and Search --> : Changing the value of a button Granger9 11-09-2003, 10:54 AM Is it possible to change whats written on a form button using javascript? Nayias 11-09-2003, 11:40 AM <html> <head> <script language="JavaScript"> function change_button_value() { document.YourFormName.YourButtonName.value="You changed the value"; } </script> </head> <body> <form name="YourFormName"> <input name="YourButtonName" type="button" value="Click Me So Value wil Change" onClick="change_button_value()"> </form> </body> </html> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |