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").on('labelchanged', function () {
       alert('changed!');          
    }
    });
$("#ctl00_ContentPlaceHolder1_lblMsg").trigger('labelchanged')

```

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

**Edit:** The label's text will be changed during runtime only when some message occurs or some exception is been thrown it is ued to display that exception

My aspx Code where the label text will be changed

```
protected void btnSubmit_Click(object sender, EventArgs e)
{
     try
     {
       //submit code//
     }
     catch(Exception ex)
     {
       lblMsg.Text=ex.Message();
     }
}

```