I want to do is remove the button blue box shadow effect in my class btnd
if the button is click.
current output:
i tried this but it doesnt w
just use this line to remove the focus $( "#OK" ).button().blur();
I deal with this problem just yesterday. You need:
.btnd:focus, .btnd:active, .btnd.active, .btnd:focus:active {
background-image: none;
outline: none;
-webkit-box-shadow: none;
box-shadow: none;
}
The key is in last selector .btnd:focus:active
.
Blue shadow is browser default :focus state
.btnd:active,
.btnd:focus,
.btnd:focus:active {
background-image: none;
outline: 0;
box-shadow: none;
}