AJAX .get() method - success and error functions

AJAX .get() method - success and error functions


My understanding of calling the AJAX .get() method and declaring both a "success" method and an "error" method tells jquery to call the "success" method on a successful call and "error" if the method fails. Yet, when I call .get() in my source javascript file, BOTH methods are called every time. Am I reading the documentation wrong. For documentation I was looking at:


Jim A.