当颜色框弹出时,我正在收到错误的请求:
有我可以用$变量饲料的href吗?
ajaxCall: function ajaxCall(url, data_array, div_id, callback_fn) {
var d = ajaxCall(url, data_array, "rhs_info", "do_quicklist_actions");
d.done(function(data) {
$.colorbox({href:"$data"})
});
尝试从$data
中删除引号,如:
$.colorbox({href:$data});