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

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -