How to submit the content in the same form to two different pages? There is a form, action = & quot; a. php & quot;. there is an input tag in this form and you want to submit its value to B. php. how can this problem be implemented ?, Ajax puts the form parameters together and sends them to two pages. through j, how can I submit the content in the same form to two different pages?
There is a form, action = "a. php". there is an input tag in this form. how can I implement it to submit its value to B. php?
------ Solution --------------------
Ajax: you can combine the form parameters and send them to two pages,
------ Solution --------------------
Modify the value of action through js.
------ Solution --------------------
You can submit the request to a. php in the background, and then send the input value to B. php. then you can get B. php.
------ Solution --------------------
The simplest one is submitting in form, and the other is submitting in js.
------ Solution --------------------
More simply, a. php and B. php are combined.
------ Solution --------------------
You just need to call the function of B in.
------ Solution --------------------
Submit to a page, and then go to the method body or B method body
------ Solution --------------------
HTML code
"Target =" _ blank ">