Home | History | Annotate | Download | only in WebKit2
      1 <!DOCTYPE html>
      2 <script>
      3 function submitForm()
      4 {
      5     document.forms[0].submit();
      6 }
      7 </script>
      8 <form method=post>
      9 <input name=foo value="Some unimportant data">
     10 <input type=submit>
     11 </form>
     12