Sha256: c2aaef6795a2f1aaa951f9c659c9c85ab5d8b545156b6e5fbfa9266231a2bfbf
Contents?: true
Size: 1.48 KB
Versions: 1
Compression:
Stored size: 1.48 KB
Contents
<html> <head> <title> Test page for Check Boxes </title> <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> CheckBox 1 <input type = checkbox name = box1> <tr> <td> Disabled<input type = checkbox name = box2 disabled> <tr> <td> Set<input type = checkbox name = box3 checked> <tr> <td> These 2 have ids <br> id= box4 value=1 <input type = checkbox id = box4 name= verify1 value = 1 checked> <br> id = box4 value=2 <input type = checkbox id = box4 name= verify2 value = 2 checked> <br> <br> These boxes have the same name, but different values <br> Name = box4 value=1 <input type = checkbox name = box4 value = 1 checked> <br> Name = box4 value=2 <input type = checkbox name = box4 value = 2> <br> Name = box4 value=3 <input type = checkbox name = box4 value = 3> <br> Name = box4 value=4 <input type = checkbox name = box4 value = 4> <br> Name = box4 value=5 <input type = checkbox name = box4 value = 5 disabled title="box4-value5"> <tr> <td> Name = box5 value=1 <input type = checkbox name = box5 value = 1 onClick='javascript:setButtonState( )'> <tr> <td> <input type = button name = foo value = foo disabled ><td> This button is used with checkbox box5. This button is enabled if the checkbox is enabled </table> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watir-1.4.1 | unittests/html/checkboxes1.html |