Hmmmmmmm...

Try using "someObject.outerHTML",  that might give you the string your
looking for.  Object.toHTML is anticipating a basic object not an html
element.




On Sep 19, 1:58 pm, yawnmoth <[EMAIL PROTECTED]> wrote:
> On Sep 17, 8:14 pm, "Justin Perkins" <[EMAIL PROTECTED]> wrote:
>
> > On Wed, Sep 17, 2008 at 8:00 PM,yawnmoth<[EMAIL PROTECTED]> wrote:
> > > It's Object#toHTML:
>
> > >http://www.prototypejs.org/api/object/tohtml
>
> > Yes, like Object.toHTML(someObject), not someObject.toHTML().
>
> Like this?:
>
> http://www.frostjedi.com/terra/scripts/demo/prototype02.html
>
> Unfortunately, the alert() isn't giving me HTML, as I'd expect, but
> rather, it's giving me "[object HTMLDivElement]".
>
> Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to