How to remove focus from submit button
In your body or form...
<form onready="document.getElementById('submit').blur();">
...
<input type="submit" id="submit" />
</form>
This worked :
var selectedInput = null;
$(document).ready(function() {
$('input, textarea, select').focus(function() {
this.blur();
});
});
Try this in your button's CSS, or that of the enclosing <a>
(whatever has focus) if that's what you are using in the markup (reference):
outline:0 none;
Bear in mind that a distinct focus style is a valuable accessibility/usability feature, so you should provide some alternate focus hint that is more visually pleasing to you, rather than removing it completely.