ajxa的TypeError: $.ajax is not a function
因爲使用別人的js,裏面$符號被佔用。所以修改如下
//jQuery重指向
var jq=jQuery.noConflict();
jq.ajax({
type : "post",
url : "xxx",
data : {"exportType":exportType,
"exportData":exportString
},
success : function(data){
top.layer.msg('添加成功');
}
});