$.ajax({
type : 'GET',
dataType: 'html',
url : 'data.php',
data : dataString,
success : function(callback){
$('.opendiv').html(callback);
$('.opendiv').explode(callback); // ???
},
error : function(error){
alert(error);
}
});
我想以Ajax用户界面效果爆炸的结果打开。我的英语不是good.sorry
发布于 2013-07-20 07:16:47
explode()
的参数应该是棋子的数量,它应该是一个完美的正方形。试试这个:
$.ajax({
type : 'GET',
dataType: 'html',
url : 'data.php',
data : dataString,
success : function(callback){
$('.opendiv').html(callback).toggle("explode");
},
error : function(error){
alert(error);
}
});
https://stackoverflow.com/questions/17759662
复制