Home > front end >  The value of form1 submitted for form2
The value of form1 submitted for form2

Time:11-26

Form1 submitted for form2 select value and reference to the background, please directly in the code, thank you,
 
-


Site: & lt;/lable>

CodePudding user response:

Put the select in the first form, 2 it is ok to form combined
In the form submitted by default way will refresh the page after click the query button, can't get form2 select values,

 
-


Site: & lt;/lable>


CodePudding user response:

reference 1st floor jio can reply:
to select into the first form, 2 it is ok to form combined
In the form submitted by default way will refresh the page after click the query button, can't get form2 select values,

 
-


Site: & lt;/lable>



Merger is certainly can, but I have 3 form used by the same select, if all merge user experience is not good, really have no way out?

CodePudding user response:

Why must use the form? It is difficult to use, write directly input and button, click on the submit, write their own ajax requests,

CodePudding user response:

Merger is certainly can, but I have 3 form used by the same select, if all merge user experience is not good, really have no way out?


That need not the default submit submit, ajax to submit, change the type=submit to type=button, so that all values to want oneself to get splicing json format or formData format
  • Related