title: cursor at the end of textbox input field
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/511088/use-javascript-to-place-cursor-at-end-of-text-in-text-input-element">Use JavaScript to place cursor at end of text in text input element</a>  </p>
  </blockquote>
  
  
  
  <p>I have an input field which only takes numbers. Can any one please let me know how to place the cursor only at the end of this text box when clicked on the field.</p>
  
  <p>This is for an mobile optimized site and hence when user clicks on this input form, the cursor should be placed only at the end and the user can delete the number with a back arrow on their phone.</p>
  
  <p>Thanks in advance!</p>