On Jun 6, 1:14 am, Ben Bodien <[EMAIL PROTECTED]> wrote:
> There's an Element.readAttribute, where's Element.setAttribute?

Have you tried the  W3C DOM setAttribute method?  That's what MooTools
uses.

<URL: http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-F68F082 >

Or:

  element.someAttribute = 'foo';

--
Rob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to