I need to know with jQuery if a certain value is on a <li> tag on an <ul>with a certain tag:
<ul id="timeline">
<li>MyValue</li>
<li>MySecondValue</li>
</ul>
How can I check with jQuery if for example, MySecondvalue, is already on the the <ul>with the timeline id? Thanks!
1 Answer