In this article we will learn how JQuery select events work
The select event is sent to an element when the user makes a text selection inside it. This event is limited to fields and
JQuery script for showing alert on text content selection
$(document).ready(function () {
$("#txtInput").select(
function () {
alert("Text content is selected");
}
);
});
I will be discussing more JQuery examples in JQuery example series.
No comments:
Post a Comment