0
Reply

SelectionStart and SelectionEnd Not working in Internet Expl

Srikanth Reddy

Srikanth Reddy

Oct 28 2015 1:35 AM
483
function KeyDownHandler(e,elem) {
var event = window.event;
if (event === undefined) {
event = e;
}
var txtElement = elem.id;
var txtElementText = GetTextElementValue(elem.id);
 
var start = txthome.selectionStart;
var end = txthome.selectionEnd;
 
Internet Explorer is not able to retrieve start & end VALUES.
Where as other browsers are working.
Please share your answers friends.
Thank you. 

Upload Source Code  Select only zip and rar file.