May 16, 201115 yr Hi there folks, can anyone tell me if it's possible to use a form button (not an image) as a hyperlink, and then to target an iFrame? Basically I have an iFrame where the user selects different pages via a combo-box to appear in the iFrame, but I want a 'reset' button to revert back to the iFrame 'home' page. Thanks in advance Steven
May 17, 201115 yr Hi, I am not getting your point can you clear a little bit more. help to understand. Thanks
May 17, 201115 yr One option is to have a form setup thusly: <form method="post" target="myiframename" action="http://mydefaultpage.com/"> <input type="submit" value="reset" /> </form> there are other ways to do it with javascript but this way is simple and doesnt need js enabled. Edited May 17, 201115 yr by WebSetGo
May 20, 201115 yr Author One option is to have a form setup thusly: <form method="post" target="myiframename" action="http://mydefaultpage.com/"> <input type="submit" value="reset" /> </form> there are other ways to do it with javascript but this way is simple and doesnt need js enabled. That's exactly what I needed, thank you very much. I had a feeling "form method="post"" was involved but just couldn't string it together
Create an account or sign in to comment