Form Submission

D

dave

Hi all,

I have a form that i would like to submit to a popup window but i would like
all the javascript code in a function apart from the tickbox to submit the
form, also at the start of the form the line <form name="myform"
method="post" action=""> must stay like this as i call another function
later on and if the action part changes it messes up the rest of it.

can anybody help ????

Regards

David
 
T

Thomas 'PointedEars' Lahn

dave said:
I have a form that i would like to submit to a popup window but i would
like all the javascript code in a function apart from the tickbox to
submit the
form, also at the start of the form the line <form name="myform"
method="post" action=""> must stay like this as i call another function
later on

Please elaborate.
and if the action part changes it messes up the rest of it.

can anybody help ????

Try

<form action="" method="post" name="myform" target="foo"
onsubmit="window.open('', 'foo', '...');">
...
</form>


PointedEars
 

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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top