Finding the first disabled list view item programatically.
Hi, if I have the following code how would I find the first disabled item with code returning the eq() of the element?
- <ul data-role="listview" data-inset="true" id="pageOptions">
- <li><a href="#">Page 1</a></li>
- <li><a href="#">Page 2</a></li>
- <li><a href="#" class="disabled">Page 3</a></li>
- <li><a href="#" class="disabled">Page 4</a></li>
- </ul>
Thanks in advance.