On Sep 17, 5:55 pm, Ken Snyder <[EMAIL PROTECTED]> wrote:
> yawnmoth wrote:
> >http://www.frostjedi.com/terra/scripts/demo/prototype01.html
>
> > Shouldn't that give you a popup with some HTML code inside it?  What
> > happens, instead, when I run it is that I get an error - "last.toHTML
> > is not a function".
>
> > Any ideas?
>
> AFAIK Prototype does not have an Element#toHTML method.  Maybe you are
> thinking of Element#inspect()? What are you trying to accomplish with
> toHTML?

It's Object#toHTML:

http://www.prototypejs.org/api/object/tohtml
--~--~---------~--~----~------------~-------~--~----~
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