Posted By

slav123 on 03/23/11


Tagged

htmlformpost


Versions (?)

Sending form to iframe


 / Published in: HTML
 

  1. <form action="do_stuff.aspx" method="post" target="my_iframe">
  2. <input type="submit" value="Do Stuff!" />
  3. </form>
  4.  
  5. <!-- when the form is submitted, the server response will appear in this iframe -->
  6. <iframe name="my_iframe" src="not_submitted_yet.aspx"></iframe>

Report this snippet  

You need to login to post a comment.