View Full Version : Adding content into a webpage

05-27-2006, 12:15 PM
Any ideas how i can use JS to insert new content into a web page content. Say for example I have a simple form with a button that allows user to add extra input elements, say for multiple uploads or whatever. How do i go about this?
actuslly thought of document. write but this overerites the existing content of the page. At another thought, AJAX doesnt seem to be the best of option. Im currently working on using js/css document.getElementById() but was just wondering there might be a simpler solution.

05-27-2006, 03:58 PM
where to start?

DOM is normally a good option

but first you need to define what to add and where