5
I am developing a WEB APP with Angularjs, there is an element that is coming to the DOM after its loading (load), I am trying to write an event :
$('elemento').click()
But when finished rendering the page the element still does not exist as it is coming by ajax through Angular, and because of this the event is not being associated with it.
How to associate Events or Capture elements that enter the DOM after your LOAD?
Via Angular, use
$compile(elemento)
for him to be interpreted.– OnoSendai