If you're returning the login form via AJAX, the events can become "unbound" (i.e. any events bound to "login_submit" won't work).

Check out livequery to counteract this

fear and wonder wrote:
what i'm trying to do is have a login form on my site, it looks like
this right now...

Email:<br />
<input type="text" id="login_email" /><br />
Password:<br />
<input type="password" id="login_password" /><br />
<input type="submit" class="submit" value="Login" id="login_submit" />


then when you click submit it uses ajax to load the login page that
checks if you entered the right email and password. if you didn't, it
would show the login form again. but if you try to login again,
nothing happens. why is this not working??
------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.6.13/1641 - Release Date: 29/08/2008 07:07


Reply via email to