May 2009

s.success is not a function

Submitted by Gold on Wed, 05/20/2009 - 22:31

This post is about JavaScript, jQuery and annoying errors that don't seem to have a solution out there. Right, keywords done. Here's the problem and the solution I used;

I was having an issue with a jQuery call that was returning the following error;

s.success is not a function

The code that was generating this was the callback function on the successful return from a getJSON() call. This is the original script;