atur elemen aktif javascript

set active element javascript:

document.activeElement.blur();
Xabos