Menu object will not instantiate

Menu object will not instantiate

I have the following code:

  1. <script src="../js/jquery-ui.js"></script>
  2. <link rel="stylesheet" href="../css/jquery-ui.css">
  3. <ul id="menu" style="display:none">
      <li id="10"><b>Membership List<b></li>  
    </ul>
  4. <script>
  5. var menu =  $("#menu").menu();
  6. </script>


When the code hits line 5, I get the following error:

Object doesn't support property or method 'menu'