110
rated 0 times
[
113]
[
3]
/ answers: 1 / hits: 24452
/ 14 Years ago, sun, february 27, 2011, 12:00:00
I want to send a form
to inside an iframe
. How can i do this?
More From » html
I want to send a form
to inside an iframe
. How can i do this?
The target
attribute of form tag specifies where to open the action URL.
You can do like following :
<iframe name=myframe id=frame1 src=mydetail.asp></iframe>
<form action=../mydetail.asp method=post target=myframe>
<input type=submit name=DoIt value=DoIt>
</form>
The target
attribute is used with frames to specify the frame in which the form response should be rendered. If no frame with such a name exists, the response is rendered in a new window unless overridden by the user.