遇到一个诡异的问题。页面定义了一个标签
测试数据
用jquery查找元素:
jQuery(document).ready(function(){
alert($("[ellipsis]").length);
});
ie6、ie7结果都是0!其他浏览器都是1。
源码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
New Document
jQuery(document).ready(function(){ alert($("[ellipsis]").length); });
测试数据
这是个什么情况哩?