>>BUT as always there's an issue, this code does not work with firefox,
var oRange = oSelection.createRange();
This line will not work with firefox.
if (document.selection) { // IE
var rng = document.selection.createRange();
}
else { //Firefox
var sel = document.getSelection();
var rng = window.getSelection().getRangeAt(0);
}
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx