[jQuery] running a callback function even when no results returned
it seems that if no results are returned from a .$.getJSON, nothing in
the function(results) callback function runs. I just tested with a
console.log('hello world') and got nothing. if however valid JSON
results are returned, everything works fine.
is this what it's supposed to do? if so, how do I run a function if
their are no results?