Posted By

envane21 on 09/07/15


entry box cursor after digits

Versions (?)

Cursor after digits

 / Published in: jQuery

Move the cursor after the digits in entry box

  1. function adjustCursor(){
  2. var msisdnText = $('#msisdn-input').val();
  3. $('#msisdn-input').val('');
  4. $('#msisdn-input').focus();
  5. $('#msisdn-input').val(msisdnText);
  6. }
  8. and then call it somewhere in you DOCReady: setTimeout(adjustCursor,300);

Report this snippet  

You need to login to post a comment.