textarea.selectionStart in IE

Posted by kayahr on Stack Overflow See other posts from Stack Overflow or by kayahr
Published on 2010-04-13T09:14:01Z Indexed on 2010/04/13 9:23 UTC
Read the original article Hit count: 306

With this code I can check the caret position in a textarea in firefox:

document.getElementById(("myTextArea").selectionStart

This doesn't work in IE 8. How can I get the caret position in IE 8?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about internet-explorer