<a class="no-config" onclick="modifyNameA();">A标签</a>function modifyNameA() { if (openFlag == 'm') { $(this).hide(); $(this).siblings('input').show().focus(); } }
A绑定了modifyNameA()事件后,在事件中使用$(this),取不到这个a元素,请问原因与解决办法。
modifyNameA()
$(this)
相关分类