5
Answers

Highlight default Li in Ul

Akash Patil

Akash Patil

7y
170
1
Hello experts,
 
var val = 104; 
 
<ul class="searchTextUl">
    <li id="parentLi" value="100">
         aaa
      </li> 
      <ul class="level-2">
       <li class="ws"  value="101">bbb
           </li>
       </ul> 
<ul class="level-2"> 
       <li class="ss-exp-col " value="103"> ccc</li>
             <ul class="level-3"> 
                  <li class="ss-exp-col " value="104">ddd</li>  
</ul> 
 
i want to find out that value in li and expand that tree and hightlight that li please help
 
Thank u 
Answers (5)