How to use $.ajax with a dynamically created form

How to use $.ajax with a dynamically created form

I would like to submit form data using  $.ajax  from a form that is dynamically created.  The dynamic creation process is successful and I have created a button that, when clicked, will call a function that will handle the ajax submission.  

The question I have is how to call the function and/or the  $.ajax functionality from the dynamically created button, since it doesn't exist during $(document).ready or $(document).on('pagecontainershow').

MP