Sha256: a4f38dfe85c0aeb297e36ecc3e600d86a7d8e0973c327ee9dd16cb34050acde5

Contents?: true

Size: 695 Bytes

Versions: 25

Compression:

Stored size: 695 Bytes

Contents

<html>
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <title>preventDefault() on form submission</title>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" charset="utf-8">
      $(document).ready(function() {
        $("#foo").submit(function (e) {
          e.preventDefault();
          return false;
        })
      });
    </script>
  </head>
  <body>
    <form id="foo" action="forms_with_input_elements.html" method="get" accept-charset="utf-8">
      <p><input type="submit" id="next" value="Continue"></p>
    </form>
  </body>
</html>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
operawatir-0.7.pre4-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.7.pre3-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.7.pre2-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.7.pre1-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.6.pre1-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.5.1-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.5-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.5.pre3-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.5.pre2-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.5.pre1-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.4.3.pre1-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.4.2-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.4.1-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.4.1.pre7-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.4.1.pre6-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.4.1.pre5-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.4.1.pre4-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.4.1.pre3-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.4.1.pre2-jruby spec/watir2/fixtures/prevent_form_submit.html
operawatir-0.4.1.pre1-jruby spec/watir2/fixtures/prevent_form_submit.html