Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
Use the addEventListener() method to attach a "select" event to an input element.
Select some text: