You can use this :
$(':focus').blur()
If you don’t have jQuery in your site, you can replace it by :
let el = document.querySelector( ':focus' );
if( el ) el.blur();
You can use this :
$(':focus').blur()
If you don’t have jQuery in your site, you can replace it by :
let el = document.querySelector( ':focus' );
if( el ) el.blur();