Put focus button javascript

Below code is useful if you want to focus on button based on certain event:

document.getElementById(‘idofbutton’).focus();

 

Leave a Reply

Your email address will not be published. Required fields are marked *