小编Mel*_*nda的帖子

为什么锚没有显示手形光标?

继我的上一个问题之后.我现在有这个:

<a id='testOne'>One</a>
Run Code Online (Sandbox Code Playgroud)

这个javascript:

//To remove the title and default action.
$("#testOne").attr("title", "").click(function(e){
  e.preventDefault();
}).attr("onclick", null);

//To reset the title and action
$("#testOne").attr("title", "Test One").click(function(e){
  doTest('one');
});
Run Code Online (Sandbox Code Playgroud)

但是当我的链接(它的样式像按钮)被重置时,光标是十字准线而不是指针.我检查了它,它被设置为auto.有什么办法可以将它设置为指针吗?

jquery jquery-selectors

1
推荐指数
1
解决办法
6001
查看次数

标签 统计

jquery ×1

jquery-selectors ×1