麻烦大神帮我解答一下这段代码吧?
function get_previousSibing(n)
{
var x = n.previousSibing;
while(x && x.nodeType != 1)
{
x = x.previousSibing;
}
return x;
}
function get_previousSibing(n)
{
var x = n.previousSibing;
while(x && x.nodeType != 1)
{
x = x.previousSibing;
}
return x;
}
2015-07-16
举报