Prakash

Prakash

  • NA
  • 258
  • 77.4k

Highlight default Li in Ul

Oct 31 2017 2:11 AM
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)