Toggled() text input field not working in IE6 in Jquery 1.3.2

Posted by Michal on Stack Overflow See other posts from Stack Overflow or by Michal
Published on 2009-10-09T02:15:34Z Indexed on 2010/06/15 18:02 UTC
Read the original article Hit count: 185

In IE6 after showing() or toggling() an initially hidden text input field it is impossible to enter any text in the box. It is also impossible to focus() on the element.

I am using jquery 1.3.2

Here is the code... Any ideas?

 $(document).ready(function(){
    $(".hide").click(function(){
        $(".form").toggle();

    })
})

and HTML

<form>
    <div class="hide">
        Show
    </div>
    <div class="form" style="display:none">
        <input type="text" name="crap">
    </div>
</form>

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery