Zell, I'm fairly new to Prototype myself but I believe the syntax you're looking for is:
$('tag').readAttribute('title'); http://www.prototypejs.org/api/element/readAttribute -William On Jul 5, 5: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 -~----------~----~----~----~------~----~------~--~---