Domanda

I have a web page from my web site with a form and some fields inside it. In this page I also have a iframe pointing to another page in my web site. This page opens inside the iframe as a form with many fields also.

The main page as a submit button. When I click the submit button the page is submitted to the same web page at server side. And then I can get the fields values. However, I dont understand what is going on with the iframe fields. At server side the page load event of the page where the iframe is pointing is executed, but I cant get any of the iframe fields. So, it seems the iframe form is not being submitted.

Shouldnt the iframe be submitted also?

thank you,

fwu

Nessuna soluzione corretta

Altri suggerimenti

The form submit doesn't submit the iframe contents. Instead of adding the page as a iframe, you should include the contents of that file as part of your page. Since both the pages are hosted on your server, this might be easier.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top