How can hide my combobox with JAvascript?
<p>I have combobox which id name is option and id name  is "Chk" and my checkbox name is "chk" </p>

<p>and my script is look like this ;I put the script onclick but it is not work ;I check my script is loading ;I could not understand why it is not work ?Can you help me? </p>

<pre><code>function checkAll()
{
    //do some stuff you need here

document.getElementById('option').style="none";
}

&lt;input type=\"checkbox\" name=\"Chk\" value=\"Chk\" onclick=\"checkAll()\"&gt;
</code></pre>
