Salesforce development
Apex, Visualforce, Soql, Lightning, Html, CSS, JavaScript, JQuery, AngularJS
Thursday, 10 September 2015
Put cursor at end of text input's value
<input type="text" style="text-align:right;" onfocus="this.value = this.value;" value="120" autofocus="autofocus">
Example:
Source:
http://stackoverflow.com/questions/17780756/put-cursor-at-end-of-text-inputs-value
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment