Prevent ddl from triggering unsaved changes warning while still executing OnSelectedIndexChanged event
<p>I'm using this jquery code to detect unsaved changes and warn users before they navigate away.</p>

<pre><code>    var _changesMade = false;
    $(document).ready(function () {

        $('form').bind($.browser.msie ? 'propertychange' : 'change', function () {
            _changesMade = true;
        });

        $(window).bind('beforeunload', function () {
            if (_changesMade)
                return 'There are unsaved changes which will be lost if you continue.';
        });
    });
</code></pre>

<p>It works fine except on a page where I have a cascading dropdownlist.  I added this code to the asp:DropDownList control</p>

<pre><code>onChange = "_changesMade=false; return false;"
</code></pre>

<p>and it stops the warning, but it also stops the OnSelectedIndexChanged server code from executing, so now the second drop down is not being populated with the correct data.  How can I prevent the popup and still execute the server code when the dropdownlist is changed?</p>
