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).
精彩评论