I have a link that brings up a login form in a iFrame. At the bottom of the form I have a link to open another form to sign up. I want the link to close the iFrame with the login form and replace it with the signup form. Here is the link I am trying but it opens a new window. I have tried parent and self.
This is the link at the bottom of the login form -
<label><a href="testsignup.html" target="self.frames['iframe2'].location="testsignup.html">Or click here to sign up</a></label>