Button() not a function

Button() not a function

Downloaded the 1.8 with all options (including buttons).

Copied the demo code:

  1.  <script type="text/javascript">
  2.         $(function() {
  3.                 $("button, input:submit, a", ".demo").button();
  4.                
  5.                 $("a", ".demo").click(function() { return false; });
  6.         });
  7. </script>

  1. <div class="demo">
  2.         <button>A button element</button>
  3.        
  4.         <input type="submit" value="A submit button"/>
  5.        
  6.         <a href="#">An anchor</a>
  7. </div><!-- End demo -->

Using firebug:

  1. $("button, input:submit, a", ".demo").button is not a function
  2. $("button, input:submit, a", ".demo").button();