When I attempt to remove a list using jquery remove() method, the list remains unmoved.
Here’s the code I’m using to remove the list:
$("li.span.folder").remove();
Can someone tell what I’m doing wrong here?
Thank You…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try with:
if your structure is like:
… just if you want to keep the
lielement removing the<span>.If you want to get rid of the
liparent … than do: