Not sure what you're talking about. You can try .empty() or .remove()
The first will empty the element, the second will remove it completely, example:
Code:
jQuery('#myjquerymenu').empty();
or:
Code:
jQuery('#myjquerymenu').remove();
Don't use remove if you need the element later. Well if the element gets recreated, then remove() can work out OK. But otherwise, stick with .empty()
If you want more help:
Please post a link to a page on your site that contains the problematic code so we can check it out.
Bookmarks