Did you try it with the names of the attributes quoted?
{'id': 'foo', 'for':'bar', 'class':'baz'}
Walter
On Feb 4, 2009, at 4:13 PM, Diodeus wrote:
>
> IE seems to barf when setting the "for" attribute of a label with the
> element constructor:
>
> $(element).insert(new Element("label", { id:'something', for:'check1',
> className:'FBRadioLabelLeft' }))
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---