element.innerHTML will give you everything inside element.tagName will give you the tag name of the element if you dont know it
On Fri, Apr 18, 2008 at 9:38 AM, Karl <[EMAIL PROTECTED]> wrote: > > Hi group, > > I would like to know if there's a way to apply a 'toString' method to > an Element. Or is there librairies doing this on HTMLElement. > > Regards, > Karl > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
