All
I want to get only “All” without <ins>
When I use $j(this).parent().html() I get
<ins class="jstree-checkbox"> </ins>
<ins class="jstree-icon"> </ins>
All
but I need only “All” How can I get it ?
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.
Assuming the
.parent()part is correct, try this:You may want to trim the result, because there will likely be white space.
Or if there isn’t any other text, you can just do this: