开发者

JQuery Mobile - blue button on release

When releasing a button in JQuery Mobile it will turn blue for just a short duration while the action is called. It can even be seen on JQuery Mobile own website.

My question is,开发者_如何转开发 how do i get rid of the button getting blue?

Thanks :)


Set the -webkit-tap-highlight-color attribute in your CSS.


Maybe a bit late, but an <a> element without the href attribute has no blue border.

<a data-role="button">Button</a>

Then just use the click event to specify the behaviour (example).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜