--Tom W.M.
On 10/23/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
I've noticed a problem with IE.
Given the following DOM js:
var td=TD({'align':'center','colspan':'4'}, .... );
The td element does not render correctly with a colspan of 4. This is
because the html created in IE uses mixed case attributes as follows:
>toHTML(td);
<td align="center" colSpan="" colspan="4" bgColor="" ... etc>
IE uses the 1st colSpan attr instead of the 2nd colspan. This can of
course be fixed by changing the code to be:
var td=TD({'align':'center','colSpan':'4'},....);
Should the programmer be in charge of doing that though?
Thanks,
Dennis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---
- [mochikit] Mixed Case Attributes for DOM with IE [email protected]
- [mochikit] Re: Mixed Case Attributes for DO... Bob Ippolito
- [mochikit] Re: Mixed Case Attributes for DO... [email protected]
- [mochikit] Re: Mixed Case Attributes for DO... Tom W.M.
