JQuery: div disappears on postback
<p>everything works great except that when event fire (btnSearch_click) the control (txtSubject, or dates or ddlStatus, depends on what i have selected from the dropdonlist) disappears...</p>

<p>here is my code...:</p>

<pre><code>&lt;script type="text/javascript"&gt;

        $(document).ready(function() {

        $('.ddlFilter').change(function() { 

                var sel = $(this).val();

                $('#div_date').hide();
                $('#div_subject').hide();
                $('#div_status').hide();

                if (sel === 'Date') {
                    $('#div_date').show();
                }
                else if (sel == 'Subject') {
                    $('#div_subject').show();
                }
                else if (sel == 'Status') {
                    $('#div_status').show();
                }
            });

        }); 

    &lt;/script&gt;



 &lt;div id="select"&gt;
            Filter Results by:

            &lt;asp:DropDownList CssClass="ddlFilter"   ID="ddlFilterResultBy" 
                        runat="server" Width="221px"&gt; 
                &lt;asp:ListItem Text="Select..." Value=""&gt;&lt;/asp:ListItem&gt; 
                &lt;asp:ListItem Text="Date" Value="Date"&gt;&lt;/asp:ListItem&gt; 
                &lt;asp:ListItem Text="Subject" Value="Subject"&gt;&lt;/asp:ListItem&gt; 
                &lt;asp:ListItem Text="Status" Value="Status"&gt;&lt;/asp:ListItem&gt; 
            &lt;/asp:DropDownList&gt; 

            &lt;/div&gt;
            &lt;div id="holder"&gt;
            &lt;div id="div_date" style="width: 250px; display: none;" class="sectionrowDate"&gt;
                Date Range:

                &lt;uc1:DatePicker ID="dpFromDate" runat="server"   /&gt;
                &lt;uc1:DatePicker ID="dpToDate" runat="server"  /&gt;
            &lt;/div&gt;
            &lt;div id="div_subject" style="display: none;" class="sectionrow"&gt;
                Subject: 
                &lt;asp:TextBox ID="txtSubject" runat="server" Width="225px" SkinID="Picker"&gt;&lt;/asp:TextBox&gt;
            &lt;/div&gt;

            &lt;div id="div_status" style="display: none;" class="sectionrow"&gt;
                Status:

                &lt;asp:DropDownList DataSourceID="ods_status" DataValueField="Id" DataTextField="Name"
                    AppendDataBoundItems="true" ID="ddlStatus" runat="server" Width="152px"&gt;
                &lt;/asp:DropDownList&gt;

            &lt;/div&gt; 
            &lt;/div&gt;

            &lt;asp:Button ID="btnSearch" Text="Search" runat="server" OnClick="btnSearch_Click" /&gt;
        &lt;/div&gt;
</code></pre>
