SyntaxFix
Write A Post
Hire A Developer
Questions
You could use remove(). More information on jQuery remove().
remove()
$(this).children("ul").remove();
Note that this will remove all ul elements that are children.
ul