POSTing to a new window

D

D. Alvarado

Hello,
How would you POST form data to a new window? That is, I have my
basic page

<html>
<head>
<script type="text/javascript">
function postFormData() {
...
}
</script>
</head>
<body>

<form name="f" method="post" action="response.jsp">
<input type=hidden name=input1 value="1">
<input type=hidden name=input2 value="2">
<input type=button name=input3 onClick="postFormData();">
</form>

</body>
</html>

what do I fill in form the body of t"postFormData" so taht my page is
submitted, but the results appear in a new window?

Thanks, - Dave
 
E

Evertjan.

D. Alvarado wrote on 26 okt 2004 in comp.lang.javascript:
How would you POST form data to a new window?
<form name="f" method="post" action="response.jsp">

<form method="post" action="response.jsp" target="_blank">

This is html, no javascript, so OT !!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top