Sys.Net.WebServiceProxy.enableJsonp Property

Gets or sets a value that indicates whether the service supports JSONP for cross-domain calls.

var enableJsonp = webRequest.get_enableJsonp();
webRequest.set_enableJsonp(true);

Return Value

true if the Web service supports JSONP for cross-domain calls; otherwise, false.

See Also

Concepts

Sys.Net.WebServiceProxy Class