FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


[JS]Spawning elements, probably through DOM





polarBear
How do I spawn html elements through javascript? I mean something like this:



The user clicks the link, labeled 'make a box'. Each time he clicks it, a new 'box' appears (as many times as he want, and each time it will be another 'box', while the previous remains onscreen), containing some text and some images and the like. It's a fairly complex HTML I have, and I want it to be 'spawned' via user interaction, and killed the same way.


How do I do this?
polarBear
19 views and no ideas... is this TOO hard?
Related topics
Okay, I'm done trying to use CSS for layout.
Interview: Derek Liu, Gaia Online Anime Community
Login without server scripting
Opera 9.0 Technology Preview 2
Master Tutorial on SEO
Rotate images using css?
What are your Firefox extensions
I want to be xhtml compliant...
Teaching Family Members
but why??
The Pakistan Government is making peace with the Taliban
Pelosi "No Regrets"
Is Democracy a solution?
jQuery - Get Content and Attributes
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.