Jump to content

Recommended Posts

(You're looking for the modal to remain open and display any errors within the modal without a full page reload, correct? Without that, the modal is completely pointless.)

 

hallelujah, hallelujah!!!!!!

 

Yes thats exactly what I want!!!

 

Like I say I'm not sure if what I'm doing is the best way of tackling this but thats exactly what I want in terms of functionality.

 

I'm not using a database though so could I let this AJAX just pick up from my PHP?

 

For example instead of using

 

header ("Location: login.php?error=1");

 

Could I not send something that AJAX could pick up and then display the message for me? I just don't know how to do this.

 

Thanks Marcus.

Finally got this working via Marcus' suggestion so I just wanted to thank everyone for their patience and help.

 

Cheers guys.

 

Ill probably make the code available on my website for anyone who reads this and thinks this is just what they need. Not trying to plug just trying to be helpful.

 

www.qwerty-design.co.uk

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.