Detect the choice of a user in a list
<p>When a user choose the "a" option in the first list below (id=1), I'd like to display the second form (id=2). How detect the choice of a user in a list (just a selection, not a submission) ? </p>

<pre><code> &lt;form method="post" id="1" &gt;
      &lt;select name="menu_destination"&gt;
           &lt;option value="a" &gt;A&lt;/option&gt;
           &lt;option value="b"&gt;B&lt;/option&gt;
      &lt;/select&gt;
 &lt;/form&gt;

 &lt;form method="post" id="2" &gt;
      &lt;select name="menu_destination"&gt;
           &lt;option value="a" &gt;A&lt;/option&gt;
           &lt;option value="b"&gt;B&lt;/option&gt;
      &lt;/select&gt;
 &lt;/form&gt;
</code></pre>

<p>Edit: I've already encounter another problem : each time I select an option, it displays a list without hiding the others. annoying, no ?</p>

<pre><code>$("select#category").change(function() {
    var category = $(this).val();
    $("select#"+category).toggle();
});
</code></pre>
