...

View Full Version : document.write help



sir pannels
09-08-2006, 03:31 PM
Hi,

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
cheers,
Sir P

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum