aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
Diffstat (limited to 'demos')
-rw-r--r--demos/button/default.html4
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>