Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
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

 Answers
12

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.


[#93554] Friday, February 25, 2011, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ramiro

Total Points: 431
Total Questions: 96
Total Answers: 105

Location: Northern Ireland
Member since Mon, Nov 14, 2022
2 Years ago
ramiro questions
Thu, May 7, 20, 00:00, 4 Years ago
Tue, Apr 28, 20, 00:00, 4 Years ago
Sun, Feb 16, 20, 00:00, 4 Years ago
;