JS “undefined”为空或者不是对象
(function(h,e,l){h.noop=h.noop||就是这行提示。。。。。。。。。。。。。。function(){};varo,p,s,v,z=0,q=h(e...
(function(h, e, l) { h.noop = h.noop || 就是这行提示。。。。。。。。。。。。。。
function() {}; var o, p, s, v, z = 0, q = h(e), j = h(document), m = h("html"); s = document.documentElement; var r (function(h, e, l) {
h.noop = h.noop ||
function() {};
var o, p, s, v, z = 0,
q = h(e),
j = h(document),
m = h("html");
s = document.documentElement;
var r = e.VBArray && !e.XMLHttpRequest,
t = "createTouch" in document && !("onmousemove" in s) || /(iPhone|iPad|iPod)/i.test(navigator.userAgent),
w = "artDialog" + +new Date,
g = function(a, b, c) {
a = a || {};
if ("string" === typeof a || 1 === a.nodeType) a = {
content: a,
fixed: !t
};
var d;
d = g.defaults;
var f = a.follow = 1 === this.nodeType && this || a.follow,
i;
for (i in d) a[i] === l && (a[i] = d[i]);
h.each({
ok: "yesFn",
cancel: "noFn",
close: "closeFn",
init: "initFn",
okVal: "yesText",
cancelVal: "noText"
},
function(b, d) {
a[b] = a[b] !== l ? a[b] : a[d]
});
"string" === typeof f && (f = h(f)[0]);
a.id = f && f[w + "follow"] || a.id || w + z;
d = g.list[a.id];
if (f && d) return d.follow(f).zIndex().focus();
if (d) return d.zIndex().focus();
if (t) a.fixed = !1;
if (!h.isArray(a.button)) a.button = a.button ? [a.button] : [];
if (b !== l) a.ok = b;
if (c !== l) a.cancel = c;
a.ok && a.button.push({
name: a.okVal,
callback: a.ok,
focus: !0
});
a.cancel && a.button.push({
name: a.cancelVal,
callback: a.cancel
});
g.defaults.zIndex = a.zIndex;
z++;
return g.list[a.id] = o ? o._init(a) : new g.fn._init(a)
}; 展开
function() {}; var o, p, s, v, z = 0, q = h(e), j = h(document), m = h("html"); s = document.documentElement; var r (function(h, e, l) {
h.noop = h.noop ||
function() {};
var o, p, s, v, z = 0,
q = h(e),
j = h(document),
m = h("html");
s = document.documentElement;
var r = e.VBArray && !e.XMLHttpRequest,
t = "createTouch" in document && !("onmousemove" in s) || /(iPhone|iPad|iPod)/i.test(navigator.userAgent),
w = "artDialog" + +new Date,
g = function(a, b, c) {
a = a || {};
if ("string" === typeof a || 1 === a.nodeType) a = {
content: a,
fixed: !t
};
var d;
d = g.defaults;
var f = a.follow = 1 === this.nodeType && this || a.follow,
i;
for (i in d) a[i] === l && (a[i] = d[i]);
h.each({
ok: "yesFn",
cancel: "noFn",
close: "closeFn",
init: "initFn",
okVal: "yesText",
cancelVal: "noText"
},
function(b, d) {
a[b] = a[b] !== l ? a[b] : a[d]
});
"string" === typeof f && (f = h(f)[0]);
a.id = f && f[w + "follow"] || a.id || w + z;
d = g.list[a.id];
if (f && d) return d.follow(f).zIndex().focus();
if (d) return d.zIndex().focus();
if (t) a.fixed = !1;
if (!h.isArray(a.button)) a.button = a.button ? [a.button] : [];
if (b !== l) a.ok = b;
if (c !== l) a.cancel = c;
a.ok && a.button.push({
name: a.okVal,
callback: a.ok,
focus: !0
});
a.cancel && a.button.push({
name: a.cancelVal,
callback: a.cancel
});
g.defaults.zIndex = a.zIndex;
z++;
return g.list[a.id] = o ? o._init(a) : new g.fn._init(a)
}; 展开
展开全部
为什么要自己付给自己呢?
h.noop = null;
h.noop = null;
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
如果你引用的是别人的js且自己未做改动的话,一般应该会是兼容的问题,如果可以的话,需要看到这个页面,才能更准确的解决问题
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询