|
![](static/image/common/ico_lz.png)
楼主 |
发表于 2012-2-17 21:55:50
|
显示全部楼层
此问题已经暂时解决
top.js 更改如下
function clicktop(sid,num) {
$(document).ready(function() {
$("#press-"+sid).click(function() {
$.ajax({
type : "post",
data : "id="+sid,
url : "/index.php/Add_Num/",
async: true,
success : function(result){
alert('aaa');
},
error: function() {
alert('bbb');
}
});
});
});
$("#"+sid).html(num+1);
} |
|