On Jan 26, 2008 11:33 PM, kangax <[EMAIL PROTECTED]> wrote:

> Jon,
> Mislav is actually a very nice guy :) and yes, chaining is a cool thing...
> I would though prefer to use plain old writeAttribute (as in Tobie's
> example) which returns element as well.

Thanks, Kangax, for defending this poor ass :)
And yes, Tobie's example with writeAttribute should be the preferred
solution since it doesn't require defining a setter method for each HTML
attribute we want to modify ;) The writeAttribute method accepts any number
of attributes and is also chainable.

You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to