I am successful in selecting the first <li>
of the <ul>
i want to select the remaining of the <li>
except the current selected <li>
. i.e., (inverse)
How can I select it. Please help
EDIT 1 As per request
var newEle = $(str); //str contains a <li> i.e., <li>Some content</li>
$(newEle).hide();