Sha256: be96d98bc8b96e8b99973648539b82ef615d6cc48032195aeac0a33e13140603
Contents?: true
Size: 1.6 KB
Versions: 1
Compression:
Stored size: 1.6 KB
Contents
<html> <head> <title> Test page for Radio Buttons </title> <link rel="stylesheet" type="text/css" href="watir_unit_tests.css"> <script> function setButtonState( ) { if (document.all.foo.disabled ) document.all.foo.disabled = false else document.all.foo.disabled = true } </script> </head> <body> CVS Revision: $Revision $ <br> <br> <table> <tr> <td> Radio (using name) <input type = radio name = box1 class='radio_style'> <br> Radio (using id) <input type = radio id = box5> <tr> <td> Disabled<input type = radio name = box2 disabled> <tr> <td> Set<input type = radio name = box3 checked> <tr> <td> <br> <br> These radios have the same name, but different values <br> Name = box4 value=1 <input type = radio name = box4 value = 1 checked> <br> Name = box4 value=2 <input type = radio name = box4 value = 2> <br> Name = box4 value=3 <input type = radio name = box4 value = 3> <br> Name = box4 value=4 <input type = radio name = box4 value = 4> <br> Name = box4 value=5 <input type = radio name = box4 value = 5 disabled title="box4-value5"> <tr> <td> Name = box5 value=1 Enable Button <input type = radio name = box5 value = 1 onClick='javascript:setButtonState( )'> <br>Name = box5 value=2 Disable Button<input type = radio name = box5 value = 2 onClick='javascript:setButtonState( )'> <tr> <td> <input type = button name = foo value = foo disabled><td> This button is used with radio box5. This button gets enabled/disabled on each click <tr> <td><input type = radio name="box6" value="Tea">Tea</td> <td><input type = radio name="box6" value="Milk">Milk</td> </tr> </table> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watir-1.6.5 | unittests/html/radioButtons1.html |