title: onchange event in select tag!
body: <p>The following code should give me a 1 in ParentSelect if I change the option in the menu, but I am getting a 0. Can anyone tell me what is the error?</p>
  
  <pre><code>&lt;input type="hidden" name="ParentSelect" value="0" /&gt;
  &lt;select class="style" onchange="document.forms[0].elements['ParentSelect']=1" &gt;
  &lt;option value="NULL"&gt;NULL&lt;/option&gt;
  ...
  &lt;/select&gt;
  </code></pre>
  
  <p>Here, I have two tables in the database. They contain some fields like ServerName, etc..</p>
  
  <p>Suggestions?</p>