jQuery SELECT change trigger
<p>I use the following jQuery function to perform a slideDown on a DIV, based on the value of a SELECT dropdown:</p>

<pre><code>$(function()
{
    $('#show-options').change(function(){
        if($(this).val() != '')
        {
            $('#' + $(this).val()).slideDown();
        }
    });
});
</code></pre>

<p>HTML:</p>

<pre><code>&lt;select id="show-options"&gt; 
  &lt;option value=""&gt;Select an Option&lt;/option&gt; 
  &lt;option value="vehicle-type"&gt;Vehicle Type&lt;/option&gt; 
  &lt;option value="vehicle-colour"&gt;Vehicle Colour&lt;/option&gt; 
&lt;/select&gt; 

&lt;div id="vehicle-type" style="display: none;"&gt; 
  &lt;!--form elements in here--&gt;
&lt;/div&gt; 

&lt;div id="vehicle-colour" style="display: none;"&gt; 
  &lt;!--form elements in here--&gt;
&lt;/div&gt;
</code></pre>

<p>Now when the form is submitted, any DIVs that were displayed before submission need to be displayed automatically. I can check for the GET variables in my PHP but I need the jQuery code that will mimic the 'change' function - I think this has something to do with triggers or binds.</p>
