Reputation: 4041
I used jquery to attach a double click event handler to a table and display a modal popup when a cell is double clicked.
This works fine in Firefox however in IE8 double clicking the cell causes the text in the cell to be highlighted then displays the "Search Accelerator" button over top of everything.
Is there anyway to prevent IE from highlighting the text in a cell when its double clicked ?
Upvotes: 1
Views: 1024
Reputation: 11146
Some approaches to prevent text selection in IE:
Upvotes: 2
Reputation: 179139
Maybe adding this on the TABLE
element:
unselectable="on"
Though I don't really know when to add it. I'd have to try but I have no IE8 installed.
Upvotes: 0