1You can apply any one approach:
2
3$("#Input_Id").change(function(){ // 1st
4 // do your code here
5 // When your element is already rendered
6});
7
8
9$("#Input_Id").on('change', function(){ // 2nd (A)
10 // do your code here
11 // It will specifically called on change of your element
12});
13
14$("body").on('change', '#Input_Id', function(){ // 2nd (B)
15 // do your code here
16 // It will filter the element "Input_Id" from the "body" and apply "onChange effect" on it
17});
1$(document).on('change', 'input', function() {
2 // Does some stuff and logs the event to the console
3});
4
1$('#myTextAreaID').on('input propertychange paste', function() {
2 //my Textarea content has changed
3});