Here is the descrition of getJSON in jquery:
$(selector).getJSON(url,data,success(data,status,xhr))
Here success(data,status,xhr) is a callback function when success. I often see the code below:
$(select(.getJSON('my/url', function(data) {....});
Here variable data holds the data returned by the http server. My question is that instead of using name data here, can I use variable name like server_data as below?
$(select(.getJSON('my/url', function(server_data) {....});