Help understand how ajax works.
I am trying to get $ _POST in a php file.
//script $(\'#pdfGenerator\').on(\'submit\', pdfEdit); function pdfEdit(e){