jQuery select()jQuery select event occurs when a text is marked or selected in text area or a text field. This event is limited to <input type="text"> fields and <textarea> boxes. When the select event occurs, the select() method attaches a function to run. Syntax: It triggers the select event for selected elements. It adds a function to the select event. Parameters of jQuery select() event
Example of jQuery select() eventLet's take an example to demonstrate jQuery select() event. Test it NowOutput: Select the text on the box: click and drag the mouse to select text.
Next TopicjQuery change()
|
JavaTpoint offers too many high quality services. Mail us on [email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week