原生js获取方法
dom.getAttribute('xxx')

jquery获取方法
$dom.attr('xxx')