Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.getElementById('editable').focus();
- document.execCommand('selectAll', false, null);
- document.getSelection().collapseToEnd();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement