or:

$('sub-div').writeAttribute('alt', 'visible');

On Jul 5, 7:13 pm, kangax <[EMAIL PROTECTED]> wrote:
> That would be:
> $('sub-div').writeAttribute({ alt: 'visible' });
>
> -- kangax
>
> On Jul 5, 12:54 am, Zell <[EMAIL PROTECTED]> wrote:
>
> > Hi i'm learning prototype and i need to know something...
>
> > Someone knows how to write and get the value of some atribute... i
> > mean like...jquery that uses $('#sub-div').atrr('alt','visible);
>
> > in prototype is there something like that?...
>
> > I hope you can help me and thanks :D
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-spinoffs@googlegroups.com
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