2

How to add load event in all the elements that are dynamically added any time of the page.

I am trying to set the load event of all the tabindex property element, like this but not working.

    $('body').on('load','[tabindex]',function(event){
      alert();
});
Shan Khan
  • 9,667
  • 17
  • 61
  • 111
  • 1
    Can you share executable demo/snippet or [JSFiddle](https://jsfiddle.net/) ? [_Create a Minimal, Complete, and Verifiable example_](http://stackoverflow.com/help/mcve) – Rayon Aug 09 '16 at 09:30
  • I doubt, `DOMElement` has `load` `event`.. – Rayon Aug 09 '16 at 09:33

0 Answers0