Hey,

I dont know how to get JavaScript to send form text/information to a specified table or layer within a target page. Like preview.html, I want to be able to add content to the preview page. I need to use javascript because im putting the file on CD, so I can't use ASP CGI ECT.

I can make it open in a new page.

This is how far I got...

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function displayPREVIEW(form) {
var sendto1 = form.sendto1.value;
var message = form.message.value;
var yourname = form.yourname.value;
var sendtoemail1 = form.sendtoemail1.value;
var youremail = form.youremail.value;
var sendtoemail2 = form.sendtoemail2.value;
win = window.open(", ", 'popup', 'toolbar = no, status = no');
win.document.write("Dear " + sendto1 + " <p>" + message + "<P> Yours Truly,<P>" + yourname +
"<P>From " + youremail + " <P>To: " + sendtoemail1 + "<P> To:" + sendtoemail2 + "");
}
// End -->

and then to submit it put.

<input type="button" name="Button" value="Preview" onclick="displayPREVIEW(this.form)">

Thanks
</script>