Adding a ID to a <li> based on part of an <a> tag
<p>I have the following code:</p>

<pre><code>&lt;li class="zoneName"&gt;&lt;a href="/Default.aspx?PageID=4869007"&gt;CYKF&lt;/a&gt;&lt;/li&gt;
&lt;li class="zoneName"&gt;&lt;a href="/Default.aspx?PageID=4868459"&gt;YKA&lt;/a&gt;&lt;/li&gt;
</code></pre>

<p>I need to add and ID to each of the &lt; li > tags in this list. I need that ID to be the number at the end of the href string. Below is what I'd like it to be</p>

<pre><code>&lt;li class="zoneName" id="4869007"&gt;&lt;a href="/Default.aspx?PageID=4869007"&gt;CYKF&lt;/a&gt;&lt;/li&gt;
&lt;li class="zoneName" id="4868459"&gt;&lt;a href="/Default.aspx?PageID=4868459"&gt;YKA&lt;/a&gt;&lt;/li&gt;
</code></pre>

<p>Any help is appreciated.</p>
