RadhaKrishnaKiJaya
asked on
Delete all the items under <ul> using an custom attribute
Hi Experts,
It is possible to delete all the <li> items from a <ul> where the attribute is data-select-id="SelectStat e" using jQuery?
Thanks in advance!
It is possible to delete all the <li> items from a <ul> where the attribute is data-select-id="SelectStat
<div data-select-id="SelectState">
<ul class="opts" style="display:none">
<li> Test1 </li>
<li> Test2 </li>
</ul>
</div>
Thanks in advance!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
no need to put the tags uppercase
ASKER
Thank you so much! This is exactly what I wanted!!