Changing an ID using JQuery
<p>I'm trying to change the ID of an element here:</p>

<p><a href="http://moemonty.com/chirp/CHIRP-JSON-test.html" rel="nofollow">http://moemonty.com/chirp/CHIRP-JSON-test.html</a></p>

<p>By using this line:</p>

<pre><code>$('.databaseID').attr('id', 'test');
</code></pre>

<p>I would like to change the id of this line to test, so I can proceed to put in a pre-fix via a string and a variable from JSON data. But for now, I just wanted to see if I could replace it with test at this line:</p>

<pre><code>&lt;li class="databaseID" id="np-44701"&gt;
</code></pre>

<p>Thanks in advance.</p>
