<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>
<button>A button element</button>
-<input type="submit" value="A submit button"/>
+<input type="submit" value="A submit button">
<a href="#">An anchor</a>
$.widget( "ui.buttonset", {
version: "@VERSION",
options: {
- items: "button, [type=button], :submit, [type=reset], [type=checkbox], [type=radio], a, :data(button)"
+ items: "button, [type=button], [type=submit], [type=reset], [type=checkbox], [type=radio], a, :data(button)"
},
_create: function() {