S
Simon Wigzell
I have a form with several different submit buttons that does different
thinkgs depending which button is clicked. (All the submit buttons are named
"Submit" and my form uses the asp request.form("Submit") to get the value of
the button clicked)
I would like another page to not only submit the form on this page - I can
do that by having a function:
window.name = "MyPage:
function remoteSubmit()
{
document.MyForm.submit();
}
and then in the second page I can do this:
windowHandle=window.open('','MyPage','');
windowHandle.document.MyForm.remoteSubmit();
(or I guess I could just call submit directly from the second page -
windowHandle.document.MyForm.submit()
but how can I submit it and specify which submit button was "clicked"?
Thanks!
thinkgs depending which button is clicked. (All the submit buttons are named
"Submit" and my form uses the asp request.form("Submit") to get the value of
the button clicked)
I would like another page to not only submit the form on this page - I can
do that by having a function:
window.name = "MyPage:
function remoteSubmit()
{
document.MyForm.submit();
}
and then in the second page I can do this:
windowHandle=window.open('','MyPage','');
windowHandle.document.MyForm.remoteSubmit();
(or I guess I could just call submit directly from the second page -
windowHandle.document.MyForm.submit()
but how can I submit it and specify which submit button was "clicked"?
Thanks!