I have table that gets dynamically created.
When using jQuery and toggle, everything works. I however get a small visual glitch – it seems the HTML sometimes get selected. How would I disable this on a faulty drag or mouse operation?
Is there a difference in the DOM between text in a cell and ‘not text’ or buffered space in a td?
If you’re saying that you want to disable text selection in your table, there are ways to do it using CSS. Although it doesn’t work for IE or Opera as far as I know.
Other than that, maybe some sort of invisible overlay element in your table cells?