I have the following:

 

 

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:

 

In IE:

 

<input CHECKED="false" accept="" align="" alt="" autocomplete="off" border="" cache="null" dynsrc="" height="0" hspace="0" id="MyTextboxId" indeterminate="false" loop="1" lowsrc="" maxLength="2147483647" name="" readOnly="false" readonly="readonly" size="20" src="" start="fileopen" type="text" useMap="" value="" vrml="" vspace="0" width="0"/>

 

 

In FF:

 

<input autocomplete="off" id="ADDL1_Input" readonly="readonly" style="border: medium none ; margin: 0px; padding: 0px; height: 16px;" type="text"/>

 

 

This is driving me crazy – I am hoping there is an easy remedy…

 

 

Jason Bunting

 


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


Reply via email to