My code looks like this:
<ul id="ulList">
<li class="listClass" id="id1"><a href="http://link1">Link 1</a></li>
<li class="listClass" id="id2"><a href="http://link2">Link 2</a></li>
<li class="listClass" id="id3"><a href="http://link3">Link 3</a></li>
</ul>
Now I like to get the following:
All links as an array
All ids of li as an array
Can someone help me please?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…