The thing is, it doesn't evaluate each parameter to see which method  
you've used. If your first element is not quoted, it will assume  
camelCase throughout, and if it is, then it will assume 'parameter- 
name' throughout instead.


On Feb 3, 2009, at 1:44 PM, Eric wrote:

> Documentation says Element.setStyle should accept both casing (dom-
> like (with-dashes) and javascript like (withCamelCase) but it looks
> like none of them work for this property...

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to