Radio.click()
|
|
The click() property simulates a mouse click on the radio button. |
<html> <head> <title> Example of the radio click property</title> </head> <body> By pressing the "Simulate Click" button below, box 2 becomes checked because a simulated mouse click is performed. <form name="form1"> <input type="radio" name=button1 CHECKED>Box 1 <br> <input type="radio" name=button2>Box 2 <br> <input type="button" value="Simulate Click" onClick='document.form1.button2.click()'> </form> </body> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|