2
Is there any way to make a form submission where the action
, instead of updating the page, be submitted to a iframe
?
I’ve seen it somewhere, but I didn’t know how the magic was done. It was done without Javascript.
Something like:
<form action="/my_page" method="POST">
<input type="text" name="name" />
<input type="submit" value="Submit" />
</form>
<!-- o resultado deve ser exibido aqui, ao invés de atualizar a página -->
<iframe></iframe>
How can I do that?