OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <title> ChromeFrame form submit test(GET method) </title> |
| 4 <script type="text/javascript"> |
| 5 function submitForm() { |
| 6 var submit = document.getElementById("100"); |
| 7 submit.click(); |
| 8 } |
| 9 </script> |
| 10 </head> |
| 11 <body onkeypress="submitForm();"> |
| 12 <br /> |
| 13 <form name="login" method="get" action="action.html"> |
| 14 <table width="90%" border="0" align="center" cellpadding="4" |
| 15 cellspacing="0" class="form-text"> |
| 16 <tr> |
| 17 <td>field 1</td> |
| 18 <td><input type="text" name="field1" value="a"></td> |
| 19 </tr> |
| 20 <tr> |
| 21 <td>field 2</td> |
| 22 <td><input type="text" name="field2" value="b"></td> |
| 23 </tr> |
| 24 </table> |
| 25 <br /> |
| 26 <p style="margin-left: 28px"> |
| 27 <input id="100" name="submit" type="submit" value="Submit"> |
| 28 |
| 29 </p> |
| 30 </form> |
| 31 <br /> |
| 32 </body> |
| 33 </html> |
OLD | NEW |