javascript - refocus cursor after click -
this stylistic thing maybe has has worked them shows ingenuity.
so, after click div has onclick event, cursor left blinking @ spot clicked. doesn't harm anything, what's way move cursor out of way somewhere? had thought of "focusing" on hidden input seems hacked.
<div onclick="dosomething()">click here</div>
(if click cursor somewhere within words click here)
and shows (at least in firefox) when have "always use cursor keys navigate within pages" checked under preferences > advanced. may not notice unless turn on.
Comments
Post a Comment