0

I am building a plain IOT web interface in python with a simple HTML form. When a user would submit this form there is no need for a response. I would like to simplify and use a very old technique from the times before ajax:

<form target="hiddeniframe" method="post">
<input type="text" name="somevalue">
<input type=submit>
</form>

<iframe name="hiddeniframe" style="display:none;"></iframe>

The POST request would go into the hidden iframe. The user would see the result live from the connected device, so no need to show a response.

I would like to know if there are any security/browser compatibility issues with using this old technique?

Liam
  • 27,717
  • 28
  • 128
  • 190

0 Answers0