javascript - How can I submit two forms on single click? -


I have to submit two forms; On one page, while the second combo change is coming through the event using jquery. I have to get the values ​​of these two forms on the same page.

Click to submit both forms of this function which I am calling on the button

My code looks like this:

ex> < Code> function forms_submit () {document.form1.submit (); Document.form2.submit (); }

You can not deposit two forms because you are in your browser You can only end up with one page ... and it depends on what form you submit. ( As long as you do not go to AJAX path )

Perhaps you want to merge the form in a single form

Enter some more information / code to get some more specific answers ..


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -