I've used the target attribute earlier in forms in order to get a form's response in an iframe, like
<form action="rightpage.php" method="get" target="result_frame">
....
<iframe name="result_frame" width="100%" height="900">
Apparently, we can also use formtarget instead, which goes into the submit button -
<input type="submit" formtarget="result_frame" value="Submit to frame">
No comments:
Post a Comment