JQuery Select Event

Select event in textarea
$(document).ready(function () {
$("#txtInput").select(function () {
      alert("Text content is selected");
   });
});
Select Text in textarea
<textarea cols="50" id="txtInput" rows="15">    Click Event
    Double Click Event
    Keydown Event, Keypress Event and Keyup Event
    Change Event
    Select Event
    Focus, Focus In and Focus Out Events
    Blur Event
    Bind Event
    Toggle Event
    Resize, Load and Unload Events
    Scroll Event
    Mouse down, Mouse Up Events
    Mouse Enter, Mouse Over and Mouse Leave Events
    Error Event
</textarea>
Demo / Download
JQuery Select Event JQuery Select Event Reviewed by Bhaumik Patel on 8:39 PM Rating: 5