Don't let IE select and copy tables hidden with jQuery.hide ()
I have a jQuery quick search bar on top of a data table. All records matching the search term will be visible $(row).show()
; and the rest are hidden $(row).hide()
.
Problem:
After searching, I use mice to select / copy a list of strings from the search result and paste them into Excel. "Hidden" entries are also inserted.
I tried:
$(row).css('visibility','collapse');
instead of hide()
- doesn't work in IE (line doesn't crash)
How do I get "visibility: crashing" to work in IE? Or is there any other solution to this problem?
+3
source to share