How to use .onCreated

Need help with events.

I don’t understand why this doesn’t work

  $('#DataTables_Table_0').on( 'page.dt', function () {
    alert( 'Table paged' );
  });
});```


If I actually go to the chrome inspector and in the console run
```jQuery(('#DataTables_Table_0').on( 'page.dt', function () {
   alert( 'Table paged' );
} );```

Then the code works and the event is captured. 

What am I not understanding?

If you’re looking to manipulate the DOM in a Template lifecycle callback, you want to use onRendered instead.

Much thanks. That worked well. Amazing how you can read the docs, and yet
not digest their meaning.