Bug Tracker

Changes between Initial Version and Version 1 of Ticket #12226, comment 1


Ignore:
Timestamp:
Aug 14, 2012, 7:42:28 AM (7 years ago)
Author:
sindresorhus
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12226, comment 1

    initial v1  
    22
    33
    4 From [http://api.jquery.com/jQuery.ajax/ docs]:
     4From [http://api.jquery.com/jQuery.ajax/ docs] - jsonpCallback:
    55
    66> Specify the callback function name for a JSONP request. This value will be used instead of the random name automatically generated by jQuery. It is preferable to let jQuery generate a unique name as it'll make it easier to manage the requests and provide callbacks and error handling. You may want to specify the callback when you want to enable better browser caching of GET requests. As of jQuery 1.5, you can also use a function for this setting, in which case the value of jsonpCallback is set to the return value of that function.