Did you try it with the names of the attributes quoted?

{'id': 'foo', 'for':'bar', 'class':'baz'}


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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to