DtD
01-27-2007, 07:36 AM
For my login form, I want it to post the data to an IFRAME (which is called logingin_iframe) then the page in the IFRAME validates the login information and lets the user know wether login was successful.
I tried:
<form action="login.php" target="logingin_iframe" method="post">
but it doesn't work, it just opens login.php in a new window. (It posts the info properly though)
Here's where I define the IFRAME:
<iframe id="logingin_iframe"></iframe>
-----------------------
Fixed!
Big thanks to feras_wilson, I just needed to use name instead of id
~DtD
I tried:
<form action="login.php" target="logingin_iframe" method="post">
but it doesn't work, it just opens login.php in a new window. (It posts the info properly though)
Here's where I define the IFRAME:
<iframe id="logingin_iframe"></iframe>
-----------------------
Fixed!
Big thanks to feras_wilson, I just needed to use name instead of id
~DtD