Button() not a function
Button() not a function
Downloaded the 1.8 with all options (including buttons).
Copied the demo code:
- <script type="text/javascript">
- $(function() {
- $("button, input:submit, a", ".demo").button();
-
- $("a", ".demo").click(function() { return false; });
- });
- </script>
- <div class="demo">
- <button>A button element</button>
-
- <input type="submit" value="A submit button"/>
-
- <a href="#">An anchor</a>
- </div><!-- End demo -->
Using firebug:
- $("button, input:submit, a", ".demo").button is not a function
- $("button, input:submit, a", ".demo").button();