https://localhost:1443/home/login?jsoncallback=?
function runFunctionIfAvailable(callback, params) { try { if (typeof callback !== 'undefined') { if ($.isFunction(callback)) { if (params !== null) { return callback(params); } else { return callback(); } } else if (typeof callback === 'string') { var f = new Function(callback); if (params !== null) { return f.call(params, params); } else { return f(); } } } } catch (e) { return false; } }; try { $.getJSON( url, function (data) { runFunctionIfAvailable(onSuccessCallback, data); }) .error(function () { runFunctionIfAvailable(onErrorCallback, null); }) .complete(function () { /* This is extra protection. Response automatically removes jsonp request cookies. */ clearCookies(added); runFunctionIfAvailable(onCompleteCallback, null); }); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)