marshall_73
07-29-2003, 01:40 PM
Hi,
I have a form on my website with both textboxes and menulist-boxes (select). Now i have a script to write the input from the textboxes to a new window, using document.write(textbox-id.value+".....").
My question is how to do the same with the menulist-boxes (or selectboxes). "document.write" does not work.
After the window is created (with the input from the form), i would like to print that window. But when I put "window.print" in the same funtion, it does not print the new window, but the website where the form is.
Can someone help me please???
Thank you very much,
Marshall
I have a form on my website with both textboxes and menulist-boxes (select). Now i have a script to write the input from the textboxes to a new window, using document.write(textbox-id.value+".....").
My question is how to do the same with the menulist-boxes (or selectboxes). "document.write" does not work.
After the window is created (with the input from the form), i would like to print that window. But when I put "window.print" in the same funtion, it does not print the new window, but the website where the form is.
Can someone help me please???
Thank you very much,
Marshall