- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
var ajax = new Ajax.Request(this.ADDRESS,
{
method:'post',
parameters:{'secdata':secdata},
onComplete: function ( data ){
//console.log( data.responseText )
setTimeout( function(){ currentObj.callbackCompleteCommit( currentObj.connection.unpuck( data.responseText) )}, 0 ); //out of XHR handler
},
onFailure: function(){hideWaiter(); errorResponse(null,'<b>ERROR:</b>connect') },
asynchronous: true
});