Jquery working very slow in IE6
<p>I am using the following jquery code in my application..</p>

<p>the idea is to click a button when the user comes of a form and clicks any button on the screen..</p>

 

<pre><code>    &lt;script&gt; 
        $(document).ready(function() {
            $('form').focusin(function() {
                $(this).addClass('focused');
            });
            $(':not(form)').bind('click', function(e) {
                if (!$(e.target).parents('form.focused').length) {
                    form.getElementById("customerdetails").click();
                }
            });
        });
    &lt;/script&gt; 
</code></pre>

<p>this script works fine in forefox but this is extremely slow in IE6...may i know the reason for this?? does it work faster in IE8...any ideas??</p>

<p>please suggest to improve this in IE6</p>

<p>many thanks in advance,
Jack.</p>
