FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a 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?
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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