On Jul 5, 2006, at 11:34 AM, Jason Bunting wrote:

>
> On Jul 5, 2006, Bob Ippolito wrote:
>>
>> On Jul 5, 2006, at 11:19 AM, Jason Bunting wrote:
>>
>>> var textbox = INPUT({"type":"text",
>>> "id":"MyTextboxId","autocomplete":"off",  "readonly":"readonly"});
>>>
>>> In FF, I get exactly what I expect, but in IE 6, the textbox is not
>>> readonly. Anyone happen to know why? If I call toHTML(textbox)
>>> immediately afterwards, the results look like the following:
>>
>> Don't have Windows up and running right now, but I'd try
>> "readonly":"true"
>
> Well, I tried that as well and no love. Here is the funny thing: if  
> I take
> the exact HTML that the toHTML() call produces, past it into the  
> page as
> static HTML, it works just fine! So, this seems to be a problem  
> with IE not
> wanting to appropriately handle the dynamically-created textbox. In my
> frustration, I even tried disabling the textbox and then re- 
> enabling it in
> the hopes that it would cause IE to take another look at things (I was
> desperate and since IE is strange anyway, I thought it might just  
> work!).
>
> I will let you know if I figure anything else out....

Probably needs a patch to MochiKit then. We already do something like  
this to workaround the name and type attributes in createDOM.

-bob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to