bind onfocus event after elm.focus()