(Basic jquery) pass the text of a link to a textbox
<p>this is a really basic jQuery question, but i'm not sure how to do this:</p>

<pre><code>&lt;input type=text class=city /&gt;
&lt;ul class="cityList"&gt;
    &lt;li&gt;&lt;a href="#"&gt;Test 1&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;Test 2&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#"&gt;Test 3&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>What I want to do is to just get the Text (Test 1, 2 etc) of any clicked li a and put into the textbox</p>
