title: How do I attach a JS click event to an AJAX loaded button?
body: <p>I need to attach a JavaScript click listener to an add new record confirmation on a DevExpress gridview. 
  I can't use a regular click event listener as it's loaded via AJAX integrated into the control. I also have no access to the button's code so am unable to extend it.The only thing I do have is the button name.</p>
  
  <p>Ideally I want to listen for the appearance of the button on the DOM and then attach the listener, is there any way to do this?</p>