Label Text Changed Event
- by Rajesh
In my page if the text of a Label has been Changed I need to fire some function using JQuery as .Change() is restricted to only <input> and <select> I use a function like
$("#ctl00_ContentPlaceHolder1_lblMsg").html("Duplicate record can't be saved.")
.trigger('labelchanged')
$("#ctl00_ContentPlaceHolder1_lblMsg").on('labelchanged', function () {
alert('changed!');
}
});
but the above function is not triggered when the text of the label has been changed kindly anyone point me what could be I am missing in the above function