On Jan 23, 2008 4:10 PM, Tobie Langel <[EMAIL PROTECTED]> wrote: > > Hi, > > Watch out for class... it's a reserved keyword in JS. Prototype > supports either using className (preferred imho) or 'class':
Oh yes, good point. Looks like somebody needs to update the Prototype API page for Element, because my code snippet is nearly identical to the one found under the section "Element as a constructor" (which mysteriously is not anchored). -justin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
