I want to remove the focus after clicking a button[type=button]. To accomplish this I am using:
<button type="button" onfocus="this.blur();">Click here</button>
This works flawless on laptop and pc, but doesn't work for mobile devices. Is there anyone who knows how to remove the focus for mobile?
Put this in your button element: style="outline:none;-moz-outline:none" hidefocus="true"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With