jQuery syntax for doubleclick function
<p>Hi I have this jQuery code: </p>

<pre><code>&lt;script type="text/javascript"&gt;
$(document).ready(function() {
$('.rm_color').each(function() {
    var divPicker = $(this).find('.colorpicker');
    var inputPicker = $(this).find('input[type=text]');
    divPicker.hide();
    divPicker.click(function(){divPicker.farbtastic(inputPicker)});
    }); 
});
&lt;/script&gt;
</code></pre>

<p>this part is not working:</p>

<pre><code>divPicker.click(function(){divPicker.farbtastic(inputPicker)});
</code></pre>

<p>How to make this right?</p>

<p>Thank you so much for answering my question</p>
