title: jQuery Adding Class to Dynamic Menu
body: <p>I am trying to add a class to a dynamically generated menu using jQuery. I am building the site on Business Catalyst so I do not have access to the server side code. I tried using the <strong>.addClass()</strong> method to add a class to my ul item. I am doing this because I am using Twitter Bootstrap and Business Catalyst generates ul menus with a unique id and not a class. <strong>The code I tried does not appear to add a class to the ul element in my menu.</strong> Any help would be appreciated.</p>
  
  <p>Code:</p>
  
  <pre><code>    &lt;div class="navbar"&gt;
      &lt;div class="navbar-inner"&gt;
          &lt;div class="container"&gt;
            {module_menu,14623}
          &lt;/div&gt;
      &lt;/div&gt;
  
  &lt;script type="text/javascript"&gt;
  $(document).ready(function(){
      $("#nav_14623").addClass("nav");
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>Website URL:
  <a href="http://jshub.designangler.com/" rel="nofollow">http://jshub.designangler.com/</a></p>