I'm trying to add this class with jQuery on a click of a button. I have to add/remove it, can't quite figure out the exact jQuery code for that. Using jQuery 1.12.
Important note - I have to toggle between the current CSS for the focus status, and the changed CSS (border added). This has to happen to all of the elements on the page!
The jQuery code:
$("#button").on('click', function() {
//jQuery Code needed to add the class/style.
}
CSS code:
*:focus {
border:3px solid black !important;
}