Ext.Msg.alert ('OK', '삭제?', function(btn){
if ( btn == "ok" )
{
var params = {};
params['action'] = "del";
Ext.Ajax.request({
url: xxx.php',
success: function( response ){
alert ( response.responseText );
},
failure: function(){ alert("실패") },
params: params
});
}
})
댓글 없음:
댓글 쓰기