The typical way to do this is to create all the controls you need in the original document. You set the CSS Visibility property to "hidden" for the controls you don't want to show.
Then, code for some event (like a button click). The event handler would set the visibility property to "visible" for the controls you want to now show.
The other approach is to set the .innerText or .innerHTML property of a container element, such as a DIV.
If you search for ".innerHTML", you should find all the samples you need.
Reputation Points: 227
Solved Threads: 37
Made Her Cry
Offline 1,697 posts
since Dec 2004