javascript - How to deselect a HTML button tag with a simple chrome extension -
i have created chrome extension simple popup.html file contains button tag first element inside body. when test on chrome 26 under os x, each time click on extension icon triggers popup, button seems selected/focused given see blue halo. cannot figure out how disable auto focus. seems autofocus applied on first tag popup.html file. tried apply blur()
on button instance retrieved document.getelementbyid
not work.
is there solution? workaround? alternative?
the solution found consists of adding tabindex="1"
on html
tag. tried put focus on other elements or use autofocus="autofocus"
not work.
Comments
Post a Comment