Core Docs | Additional Modules Docs

sb.ajax.prototype.onResponse


@Description: Fires when the ajax request gets its response back from the server.
@File: sb.js
@Type: function
@Param: response String, json, or XML depending on ajax instance .format property
@Example:
var myAjax = new sb.ajax({
        url : 'process.php',
        onResponse : function(response){
            alert(response);
        }
    });