Chromium Code Reviews| Index: chrome_frame/test/data/form-get.html |
| =================================================================== |
| --- chrome_frame/test/data/form-get.html (revision 0) |
| +++ chrome_frame/test/data/form-get.html (revision 0) |
| @@ -0,0 +1,33 @@ |
| +<html> |
| + <head> |
| + <title> ChromeFrame form submit test(GET method) </title> |
| + <script type="text/javascript"> |
| + function submitForm() { |
| + var submit = document.getElementById("100"); |
| + submit.click(); |
| + } |
| + </script> |
| + </head> |
| + <body onkeypress="submitForm();"> |
| + <br /> |
| + <form name="login" method="get" action="action.html"> |
| + <table width="90%" border="0" align="center" cellpadding="4" |
| + cellspacing="0" class="form-text"> |
| + <tr> |
| + <td>field 1</td> |
| + <td><input type="text" name="field1" value="a"></td> |
| + </tr> |
| + <tr> |
| + <td>field 2</td> |
| + <td><input type="text" name="field2" value="b"></td> |
| + </tr> |
| + </table> |
| + <br /> |
| + <p style="margin-left: 28px"> |
| + <input id="100" name="submit" type="submit" value="Submit"> |
|
amit
2010/07/13 19:00:34
nit: id can be a descriptive name like submit_butt
|
| + |
| + </p> |
| + </form> |
| + <br /> |
| + </body> |
| +</html> |
| Property changes on: chrome_frame\test\data\form-get.html |
| ___________________________________________________________________ |
| Added: svn:eol-style |
| + LF |