View Full Version : document.write help

sir pannels
09-08-2006, 04:31 PM

I have a problem, Im trying to print a inputed form value to a page without reloading. OnClick the following function runs:

function Done(){
document.write("here "+ document.form1.SiteAdd +"");

At the moment the only thing printed on the page is 'here $VAL' (obviously not actually $val, but the input) .. and the rest of stuff on page is not displayed.. is there anyway to print the value to the pag without removing the rest of teh content?

Thanks all
Sir P

09-08-2006, 06:48 PM
where is this function placed relative to the body? in the header?