how to change text between <li><a> </a></li>
<p>Sorry for dumb question but I can't figure it out (beginner)</p>

<p>I have a UL-list with items like:</p>

<pre><code>&lt;div id="some_list"&gt; 
&lt;li &gt;&lt;a href="#"&gt;Hardware &amp;ndash; HP Proliant DL145G2 AAA&lt;/a&gt; 
</code></pre>

<p>How can I change OnClick the AAA to BBB?</p>

<p>I assume that the function should call  $(document).ready, but I have no idea what should I do in function change_list.</p>

<pre><code>&lt;script type="text/javascript"&gt;
function change_list(aaa){
...
}
$(document).ready(function () {
    $('#some_list li a').click(change_list);
}); 
</code></pre>
