@smosley, are you referring to:
Code:success: function(data){//blah
Printable View
@smosley, are you referring to:
Code:success: function(data){//blah
Yes, that is an anonymous function as a value of a JS object literal. Can't use that in JSON.Quote:
Originally Posted by CPD, post: 236661
Aw I see what your saying. Got a little confused. You can always do callbacks if you want to execute functions using a JSON string.
Not sure what you're saying (or asking?)
Do you understand the difference between an object literal and JSON?
http://snook.ca/archives/javascript/json_is_a_subse