Welcome Guest, Not a member yet? Register   Sign In
JQuery AJAX success/error response repeats twice?
#3

[eluser]gwerner[/eluser]
Hmmm. I've been doing that and had done that prior to posting. In firebug the response is {"status":"error"}. The post is also only being sent once. Am I missing something glaringly obvious? Everything seems to work except that it is outputting the error or success message twice. If the email is valid it only inserts to the database once.

On Success it prints
Success! Thanks for subscribing.Success! Thanks for subscribing.

On Error it prints
Please enter a valid email address.Please enter a valid email address.

I'd like for it to only print the statement once.


Messages In This Thread
JQuery AJAX success/error response repeats twice? - by El Forum - 07-18-2012, 03:59 PM
JQuery AJAX success/error response repeats twice? - by El Forum - 07-18-2012, 04:07 PM
JQuery AJAX success/error response repeats twice? - by El Forum - 07-19-2012, 12:51 PM
JQuery AJAX success/error response repeats twice? - by El Forum - 07-19-2012, 01:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB