New post
Comment
Archive
Services
|
Api
|
Help
|
Login
Sending form to iframe
Posted by
Anonymous
on May Thu 24th 8:02 AM - Never Expires| View : 31
Syntax:
HTML4STRICT
263 characters | 6 lines | 263 Bytes
DOWNLOAD
|
RAW
|
EMBED
|
CREATE NEW VERSION OF THIS PASTE
|
REPORT ABUSE
|
x
<
form
action
=
"do_stuff.aspx"
method
=
"post"
target
=
"my_iframe"
>
<
input
type
=
"submit"
value
=
"Do Stuff!"
/
>
<
/
form
>
<!-- when the form is submitted, the server response will appear in this iframe -->
<
iframe
name
=
"my_iframe"
src
=
"not_submitted_yet.aspx"
><
/
iframe
>
RAW Paste Data
<form action="do_stuff.aspx" method="post" target="my_iframe"> <input type="submit" value="Do Stuff!" /> </form> <!-- when the form is submitted, the server response will appear in this iframe --> <iframe name="my_iframe" src="not_submitted_yet.aspx"></iframe>