How can I identify which li in a ul has a particular class?
<p>I have a standard <code>&lt;ul&gt;</code> with some <code>&lt;li&gt;</code> </p>

<p>One of the <code>&lt;li&gt;</code> has the class 'porcupine'</p>

<p>how can I work out the index of the li with that class?</p>
