原生js获取方法dom.getAttribute('xxx')jquery获取方法$dom.attr('xxx') 转载于:https://www.cnblogs.com/ey-151210/p/5304942.html