Edit This Code:
See Result »
Select some text inside the input field.
Trigger the select event
Result: