Skip to content

Instantly share code, notes, and snippets.

@berkin
Created November 18, 2016 07:56
Show Gist options
  • Save berkin/0a3f1436e4614a3dae90a884615d971b to your computer and use it in GitHub Desktop.
Save berkin/0a3f1436e4614a3dae90a884615d971b to your computer and use it in GitHub Desktop.
<a href="http://stackoverflow.com/questions/9804280/how-to-prevent-focus-event-in-ie-when-mousedown-happens/17525223#17525223">http://stackoverflow.com/questions/9804280/how-to-prevent-focus-event-in-ie-when-mousedown-happens/17525223#17525223</a>
<br />
<input type="text" id="name">
<div onmousedown="return false" unselectable="on" id="suggest">
<div unselectable="on">mark</div>
<div unselectable="on">sam</div>
<div unselectable="on">john</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment