2
我知道这是某种回调概念,但不知道该怎么做。当成功数据到达jQuery时执行函数ajax
$.ajax({
'url': '/test/',
'type': 'POST',
'data': {'age': age},
'dataType': 'html',
'success': function(data, textStatus, xhr) {
//I want when the data arrives, then execute another function, because the function is too big to place here.
}
});
那么什么是信号myFunction? – user469652 2010-12-07 00:38:29