Dan,
That is what I was getting ready to say myself, I replaced your function
with:


               function (){
                   this.checked = true;
                   $("body").append(oDom.html());
               }

and it returns the "checked" box, and looking at the textarea and seeing
that it says checked, a quick fix would be to delete the current checkbox
with a new checkbox.  This is not tested, but it could be an option.

On 6/12/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote:


Also, if you move the each() line after it's append to the document, the
checkbox does get checked in IE6.

-Dan

>-----Original Message-----
>From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
>Behalf Of Dan G. Switzer, II
>Sent: Tuesday, June 12, 2007 2:18 PM
>To: jquery-en@googlegroups.com
>Subject: [jQuery] Re: Weird IE6 issue...
>
>
>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?
>
>-Dan
>
>>I've got a weird IE6 issue. I'm creating a DOM fragment that gets
appended
>>to the DOM using the append() method.
>>
>>Before that DOM method gets append, I'm doing some additional
manipulation
>>to change the value of some form fields.
>>
>>If I output the contends of alert(oDom.html()); I can see that my
changes
>>have been made, but when the DOM fragment is appended, the screen
doesn't
>>reflect those changes. It's like it's using a dirty version of the DOM
>>fragment.
>>
>>I do not see this issue in IE7 or FF1.5+. I'm using jQuery 1.1.2.
>>
>>When I've run into this issue in the past, I've just done the form
>>manipulation *after* appending to the DOM--which works. However, in this
>>case I really need to modify the DOM fragment.
>>
>>Any ideas?





--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com

Reply via email to