Jump to content
Larry Ullman's Book Forums

Recommended Posts

Stuck on the Login exercise in the last section of chapter 15.

 

I've downloaded 'jquery-1.9.1.min.js' and created the calculator both with and without the 'alerts' but just cannot get the 'ajax' exercise to run.

 

I've walked away (Larry's best solution) and usually come back to find a pesky typo has wasted days of my life but not this time.

In desperation I have cut and pasted the scripts from the support pages - initially piece-meal to see where an error could be and finally in toto just to get the thing to run.

 

I get the form up on the page with the initial error messages i.e.

'Please enter your email address!' & 'Please enter your password!' beside the forms text boxes, but that is it.

Correct/Incorrect entries illicit no response.

 

Having got jQuery working on my MAMP/OS X MAC do I have to do more to get Ajax functional?

 

Thanks in advance for any help.

Link to comment
Share on other sites

Since your Ajax is likely calling a PHP script, are you sure that your web server is running? Try alerting the value returned from the PHP script by Ajax to see if you are getting any errors, etc.

Other than that, we can't help you much without providing some relevant code.

Thanks.

  • Upvote 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...