Insert text into the input/textarea using Jquery
<pre><code>&lt;div class="ctrlHolder"&gt;
&lt;label for="" id="name.label"&gt;Name&lt;/label&gt;
&lt;input name="name" id="name" type="text" class="textInput small" /&gt;
&lt;p class="formHint"&gt;The name of the item you are submitting&lt;/p&gt;
&lt;/div&gt;
</code></pre>

<p>How can I insert predefined text into a input element. I'd like this function to active when the user doubleclicks the label element.</p>

<pre><code>$('#name.label').dblclick(function(){
    $('#name').val('some text');
});
</code></pre>
