title: using javascript to hide and show menu ids
body: <p>Hi Im using wordpress and i have a navigation. </p>
  
  <p>I would like to use js or jq to toggle the visibility of the sub menu items when clicking on the parent item. I can do this with raw code but i dont know how to do this with wordpress menus. </p>
  
  <p>Currently my wp_nav_menu is in a nav container in its own div. </p>
  
  <p>Any help would be really appreciated. I need this to be totally dynamic. </p>
  
  <p>I have found a plugin called Jin Menu and this seems to allow me to add onclick functions to each menu item but even then im not sure what to add... </p>
  
  <p>Thanks folks</p>