JavaScript AJAX Basics (retiring) jQuery and AJAX Handle AJAX failures with jQuery

Jolanta Dermody
PRO
Jolanta Dermody
Pro Student 13,118 Points

jQuery's $.get() method doesn't do anything if the server returns an error. You can chain jQuery's fail() method to the

PLEASE HELP...................

Dave McFarland
Dave McFarland
Treehouse Teacher

Can you explain the problem you're encountering?

1 Answer

Dan Martin
Dan Martin
32,667 Points

What do you want to do on fail?