That works for me but I do see how this can be refactored:
My Account
My Account
More stuff
Here is a menu item
Here is a menu item
Here is a menu item
Here is a menu item
Notice that I've changed the IDs so that the DIV has the link ID plus
some
Hey guys, I'm trying to create 1 really simple function but it just
doesn't work!
function showMenu(menu) {
var menuid = $( "#"+menu );
var menuRoot = $( "#"+menu+"-root" );
menuid.toggle();
menuRoot.blur();
}
What this suppose to do is when you click a link, it w
2 matches
Mail list logo