I'm trying to see if I can use jQuery to get at the POST variables of the form, AFTER the submit button is hit. But all I got was undefined:
<h4>Thanks for your submit, </h4><script>var name = $("#FirstName").val(); alert(name);</script>
The return is "undefined".
I have searched highs and lows, but could not find any answers. Seems like jQuery is enabled because I have no problem submitting the form, just that I cannot get to the POST variables.
There was a thread long time ago about changing the script.js beacuse it was clearing the form and all data is lost, but it does not seem to apply anymore as the code for CF7 has changed a lot.
Please help if you have any idea? Totally stuck for a few days already.
Thanks so much!