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"

 

Okay, at least I found a workaround for now – if I add textbox.readOnly = true; on the line following the declaration of textbox, it works just fine. Help me live!

 

Jason

 

 

 

 

 

 

 


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.9/382 - Release Date: 7/4/2006


Reply via email to