Thanks, Walter, that worked. It does feel a little 'unnatural'
though. :)

On Feb 4, 4:21 pm, Walter Lee Davis <wa...@wdstudio.com> wrote:
> 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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to