call farbtastic color picker with javascript
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5443728/how-to-call-farbtastic-color-picker">How to call farbtastic (color picker).</a>  </p>
</blockquote>



<h1>update</h1>

<p>I want to call the farbtastic color picker, I already read the following tutorials, but I don't know how to get my own values with javascript. that's my html and color picker placeholder.
<a href="http://acko.net/dev/farbtastic" rel="nofollow">enter link description here</a></p>

<pre><code>enter code here   &lt;form action="controller.php" method="post" class="popupform" id="form_changecolor"&gt;
&lt;div id="colorpicker"&gt;&lt;/div&gt;
&lt;table&gt;
  &lt;tr&gt;&lt;th&gt;huidige:&lt;/th&gt;&lt;th&gt;nieuwe:&lt;/th&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;&lt;input type="text" name="oldcolor" disabled="disabled" id="oldcolor" /&gt;
  &lt;/td&gt;&lt;td&gt;&lt;input type="text" name="newcolor" id="newcolor" /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;div class="buttonrow"&gt;
  &lt;input type="hidden" name="page" value="{$PAGE}" /&gt;
  &lt;input type="hidden" name="module" value="changecolor" /&gt;
  &lt;input type="hidden" name="id" id="parameter_key" value="" /&gt;
  &lt;input type="submit" class="btnOk" value="Aanpassen" /&gt;
  &lt;input type="button" class="btnCancel" value="Annuleren" /&gt;
&lt;/div&gt;
</code></pre>

<p></p>
