>To make the issue below more clear, I've posted an example of the issue:
>
>http://www.pengoworks.com/workshop/jquery/ie6_form_fragment_bug.htm
>
>If you run this code in FF or IE7, the checkbox will be checked. However,
>in
>IE6 the checkbox is not checked--even though as you can see the DOM
>fragment
>that's generated shows the checkbox as being marked as being checked.
>
>I've tested this code with build 1938 (v1.1.3a) and see the same issue.
>
>Any ideas?

It seems I can work around the issue in IE6 by making the .each() operation
essentially asynchronous:

$("input, select, textarea", oDom)
        // this will update the value in each field
        .each(
                function (){
                        var field = $(this);
                        setTimeout(
                                function (){
                                        field[0].checked = true;
                                }
                                , 0
                        );
                }
        )
        ;

This seems pretty hackish though...

-Dan

Reply via email to