Jquery - how do you search for an element using an attribute value you set using .data
<p>Im setting index numbers on a html lists item $("li").data("index", someValue).</p>

<p>I don't know how to find a specific li based on this index value. Ive searched on here and Ive seen a few posts re: html5 data attributes but Im using JQuerys .data function to append data to the dom and not to the html itself.</p>

<p>Can anyone help?</p>
