diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-05-21 14:53:27 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-05-21 14:53:27 -0400 |
commit | e37f599a53d57a1fdee2fd8de01198d68aa86ae8 (patch) | |
tree | 90cc8810479055e0508fc16a6ddc10fb71733325 /demos/button/default.html | |
parent | 8b17f68b579f2b12a6801be741434a53ffe28bbf (diff) | |
download | jquery-ui-e37f599a53d57a1fdee2fd8de01198d68aa86ae8.tar.gz jquery-ui-e37f599a53d57a1fdee2fd8de01198d68aa86ae8.zip |
Don't use :submit selector.
Diffstat (limited to 'demos/button/default.html')
-rw-r--r-- | demos/button/default.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/button/default.html b/demos/button/default.html index 60d2674c0..90369f816 100644 --- a/demos/button/default.html +++ b/demos/button/default.html @@ -11,7 +11,7 @@ <link rel="stylesheet" href="../demos.css"> <script> $(function() { - $( "input:submit, a, button", ".demo" ).button(); + $( "input[type=submit], a, button", ".demo" ).button(); $( "a", ".demo" ).click(function() { return false; }); }); </script> @@ -22,7 +22,7 @@ <button>A button element</button> -<input type="submit" value="A submit button"/> +<input type="submit" value="A submit button"> <a href="#">An anchor</a> |