[jQuery] Re: Submitting form with return key using Form Plugin (Ajax) doesn't work

2008-01-17 Thread Nazgulled
I think I understand what you mean... I never used Ajax so, I confused some things... My success callback displays an error message if the login is wrong it does nothing if it's login is correct. I just changed it to handle a redirect request and when that message is found I used window.location.a

[jQuery] Re: Submitting form with return key using Form Plugin (Ajax) doesn't work

2008-01-17 Thread Mike Alsup
> If the credentials are correct, the user is logged in and it should be > redirected to the 'start' page. If it's not, the php execution is > terminated with die() and outputs some error messages. With the Form > Plugin I will handle that error messages and display them to the user, > this is wor

[jQuery] Re: Submitting form with return key using Form Plugin (Ajax) doesn't work

2008-01-17 Thread Nazgulled
It is a full document... index.php is like the name says, the index, if no _GET is specified it will load the login page (it will check for sessions and automatically log the user and redirect it to the 'start', this is working). If the login page is loaded, when the user logins, index.php is call

[jQuery] Re: Submitting form with return key using Form Plugin (Ajax) doesn't work

2008-01-17 Thread Mike Alsup
On Jan 16, 2008 11:46 PM, Nazgulled <[EMAIL PROTECTED]> wrote: > > Now it's happening either pressing the Return key or clicking in the > "Log In" button, this is getting me on my nerves!!! > > HELP PLEASE! Are you expecting the redirect to cause the entire page to be redirected? Or are you app

[jQuery] Re: Submitting form with return key using Form Plugin (Ajax) doesn't work

2008-01-16 Thread Nazgulled
Now it's happening either pressing the Return key or clicking in the "Log In" button, this is getting me on my nerves!!! HELP PLEASE! On Jan 17, 1:22 am, Nazgulled <[EMAIL PROTECTED]> wrote: > Hi there. > > I'm using the Form Plugin (http://www.malsup.com/jquery/form/) to use > Ajax on my forms