<!--this 是a标签--><a href="javascript:void(0)" onclick="javascript:searchBySource(this)" name="tel" >${tel }</a><!--this 是window对象--><a href="javascript:searchBySource(this)" name="net" >${net }</a>
function searchBySource(obj){console.info('name:'+obj.name+';value:'+obj.value+';text:'+obj.text);}
如果觉得《a标签 href和onclick 传递的this区别》对你有帮助,请点赞、收藏,并留下你的观点哦!