LANDLORD Home » Tutorial » How To re-Focus To a Text Field When Focus is Lost on a HTML Form? How To re-Focus To a Text Field When Focus is Lost on a HTML Form? Friday, August 2, 2019 HTML:<input type='text' id='thingy' onblur="refocus(this);">Script: function refocus(elm) { setTimeout(go, 0); function go() { elm.focus(); } }
Post a Comment