How do I retrieve some input value in jQuery
<p>Example my temporary input is <code>1,2,3</code></p>

<pre><code>&lt;input type="hidden" id="temp" name="temp" value="1,2,3"&gt;

var tempvalue = $("#temp").attr("value")
</code></pre>

<p>With jQuery it's possible to get the number <code>3</code> only for <code>tempvalue</code>? So <code>1,2,</code> will be removed while onclick action.</p>
