I am trying to submit two forms with one button click. The code is as follows:
document.theForm.submit();
document.theForm2.submit();
Only the last form submitted is processed. If I reverse the order, the same thing happens, i.e., the last form submitted gets processed. The first form submitted is ignored. Is it possible that only one form can be submitted at a time? In this case, the theForm is an email posting, and theForm2 is a fileUpload.
document.theForm.submit();
document.theForm2.submit();
Only the last form submitted is processed. If I reverse the order, the same thing happens, i.e., the last form submitted gets processed. The first form submitted is ignored. Is it possible that only one form can be submitted at a time? In this case, the theForm is an email posting, and theForm2 is a fileUpload.