Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / test / data / template_url_scraper / submit_handler / index.html
blob2e0b04ff5b1c2202cf7c1d2254210c5b68b2121d
1 <html>
2 <head>
3 <title>Submit handler TemplateURL scraping test</title>
4 <script>
6 function submit_handler() {
7 document.getElementById("data").value = "test_data";
10 function submit_form() {
11 document.forms[0].submit();
14 </script>
15 </head>
17 <body onload="submit_form();">
18 <form action="http://www.foo.com:1337" onsubmit="submit_handler();">
19 <input type="hidden" id="data" />
20 <input type="text" name="q" />
21 <input type="submit" />
22 </form>
23 </body>
24 </html>