js获取指定标签

<a id="one"> 测试</a>

 

 

$('one').click.function(){

    window.location.href="123.html";

}

posted @ 2015-07-23 09:18  shawli  阅读(498)  评论(0编辑  收藏  举报