Editable cells in IE and contentEditable attribute
We have a grid with cells that are editable. If the user enters an email or web address IE in its infinite wisdom wraps the address with a link html tag. For instance x@x is converted to <A HREF="x@x">x@x</A>. Is there any way we can suppress this behavior?
We have a partial solution whereby we strip out the additional HTML elements when the cell loses focus. However, its not ideal because while the cells are being edited the email and web addresses appear as links. We did try stripping the extra HTML elements as the user enters the data but found that this caused caret position issues if the user is entering data into the middle of cell.
Any ideas?
Thanks.
We have a partial solution whereby we strip out the additional HTML elements when the cell loses focus. However, its not ideal because while the cells are being edited the email and web addresses appear as links. We did try stripping the extra HTML elements as the user enters the data but found that this caused caret position issues if the user is entering data into the middle of cell.
Any ideas?
Thanks.
Bryn
September 12,