I am trying to make dropdown enabling using jquery
<p>I am trying to make dropdown enabling using jquery and click search then that category page should open.But I am uable to do it.When I am selecting any one option from "SEARCH BY MAKE" dropdown the next "SEARCH BY MODEL" dropdown should enable and this is same for other dropdown.Means next dropdown is depanded on previous.When I select option from last dropdown the search button should display,which I am hiding when page loads.I have lot of categories in "SEARCH BY MAKE".I want all the pages should open dynamically after clicking on search button.According to this three dropdowns the category or product page should open.Please help me out.Please check bellow code:</p>

<pre><code> &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
&lt;script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'&gt;&lt;/script&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;
  &lt;form&gt;
        &lt;select id="Make" name="Make" class="criterion"&gt;
        &lt;option value=""&gt;SEARCH BY MAKE&lt;/option&gt;
        &lt;option value="1"&gt;ACURA&lt;/option&gt;
        &lt;option value="2"&gt;INTEGRA&lt;/option&gt;
        &lt;option value="3"&gt;MDX&lt;/option&gt;
        &lt;/select&gt;
  &lt;/form&gt;&lt;br /&gt;
 &lt;form&gt;
        &lt;select id="Model" name="Model" class="criterion"&gt;
        &lt;option value=""&gt;SEARCH BY MODEL&lt;/option&gt;
        &lt;option value="1"&gt;XYZ&lt;/option&gt;
       &lt;/select&gt;
  &lt;/form&gt;&lt;br /&gt;
  &lt;form&gt;
        &lt;select id="Year" name="Year" class="criterion"&gt;
        &lt;option value=""&gt;SEARCH BY YEAR&lt;/option&gt;
        &lt;option value="1"&gt;ABC&lt;/option&gt;
  &lt;/form&gt;
&lt;br /&gt;
    &lt;input type="submit" value="Search" class="CatsearchButton" /&gt;





&lt;script type="text/javascript"&gt;



$(document).ready(function() {
$('.CatsearchButton').hide();

var $selects = $('select.criterion');
$selects.not("#Year").on('change', function() {
    $selects.each(function() {
        var $this = $(this);
        var disable = $this.val() == '';
        $this.closest('form').nextAll().find('select').prop('disabled', disable);
        if (disable) return false;
    })
}).eq(0).trigger('change');
$selects.filter('#Year').change(function() {
    $('.CatsearchButton').show();
});
});

&lt;/script&gt;


&lt;/body&gt;
&lt;/html&gt;
</code></pre>
