Thanks to posts from
Philipp Feigl and
Stickman, I put together script to detect the insertion point in a <textarea> or simple text box (so that, for instance, another script could automatically insert markup tags). Internet Explorer has a different object model for accomplishing this than the other browsers (using the
TextRange object), and our solution isn't bulletproof, but it will make some editors happy.
1 comment:
News editors and radio producers, that is. Real people, in other words.
Post a Comment