Wednesday, November 6, 2013

a jQuery hack to get Chrome to stop holding a selection

...is to hide a form field out of sight (absolute positioning with a negative margin) and update it.

$("#deselecttrick").focus().val("deselecttrick");

No comments:

Post a Comment