To insert something into the DOM use this. You can add other
attributes as well. Read the Prototype docs.
$("someDiv").insert(new Element("form", { id: 'moo' }))
On Sep 17, 6:53 am, luftikus143 <[EMAIL PROTECTED]> wrote:
> > You may need to add a <form> tag (using new Element) then put the
> > contents of your form inside it. Alternately, you can have the <form>
> > tag as part of your HTML to begin with.
>
> Thanks a lot! How does this "new Element" thing work? Do you have by
> chance a quick example?
>
> Thanks anyway, I'll see what I can do.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---