简体   繁体   中英

How can i post an inner form?

I have an inner form say frm2 as follows...

<form id ="frm1" action="test.php" method="post">
  <form id="frm2" action="test2.php" method="post">

    //some text fields and a button
  </form>

</form>

How can I submit test2.php individually without submitting test.php?

This is not valid, according to the HTML5 standard

Content model: Flow content, but with no form element descendants .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM