Closed GoogleCodeExporter closed 9 years ago
yeah, right. at tags you must set only 'tag' name, i.e. DIV. to check classes
of that
tag you must provide a 'compare callback' - arg_cmp (where 'node' is dom object
еto
check). Something like this.
arg_cmp:
function(node, arg) {
return (
arg.toLowerCase() == node.nodeName.toLowerCase() && (
node.className.toLowerCase() == 'left' ||
node.className.toLowerCase() == 'right'
));
}
Original comment by plandem
on 24 Feb 2009 at 9:05
Original issue reported on code.google.com by
raywo...@gmail.com
on 18 Feb 2009 at 3:13