Posted By

kif on 08/18/06


Tagged

input caret


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

shachi


moveCaret


 / Published in: JavaScript
 

  1. function moveCaret(e, n) {
  2. e.selectionStart = e.selectionEnd = n;
  3. }

Report this snippet  

You need to login to post a comment.