说明:本文来自新浪博客,因为无法收藏,故直接copy过来备注,以后好查询 原网址:http://blog.sina.com.cn/s/blog_6810dfc20101jddq.html 使用jQuery v1.10.2获取checkbox的状态时,用.attr("checked")时输出总是为undefined.郁闷了,这难道是个bug?! 查看jQuery API的文档,发现: As of jQuery 1.6, the .attr() method returns undefin
重写onEnd()和onStart()方法 public class XmlElementHandler implements ElementHandler { @Override public void onEnd(ElementPath arg0) { Element ele = arg0.getCurrent(); String name = ele.getName(); try { //保存"MT"标签的属性到内存 if("MT".equals(name)