Oi tudo bem? Estou tentando chamar uma função em php com jquery ajax, mas não me está funcionando, nem me dá erro, aqui vai o meu codigo.
Pagina: profile.php
php/html:
if (isset($_REQUEST['SubmitInsertExperience'])) { insertProfessionalExperience($candidateSession); }
JS:
$(document).ready(function() { $("#SubmitEditExperience").click(function(event){ $.post( "profile.php", { name: "SubmitInsertExperience" }, function(data) { $('#stage').html("Updated with Success"); } ); }); });