jQuery select() Method
jQuery select() Method
The select event is used to occur when a text is selected in a text area or a text field. The select() method triggered the select event. We can attach a function to run when a select event occurs.
Syntax:-
Its syntax is:- $(selector).select(function)
Further Explanation:-
Parameter | Description |
---|---|
function | Optional. Specifies the function to run when the select event is triggered |