共用方式為


Sys.Net.WebServiceProxy.jsonpCallbackParameter Property

Gets or sets a value that specifies the callback function name for a JSONP request.

var jsonpCallbackParameter = webRequest.get_jsonpCallbackParameter();
webRequest.set_jsonpCallbackParameter("customCallBackFunction");

Return Value

A string that contains the name of the callback function for a JSONP request.

See Also

Concepts

Sys.Net.WebServiceProxy Class