Note: In year 2021, this solution still works for textarea/input. Here is a working snippet of code to get and set the caret position in HTML textarea and textbox. This code works for IE 6, 7, 8, >=9, Edge, Chrome, Safari, Firefox and Opera.
Monthly Archives: December 2005
Have you ever tried to find out which directory of your computer drive is eating up more space? If yes, then how did you do that? I think you would have done same way as I usually do. Right click on the folder and click “properties…” . What if you run a program and it […]