1
How to pass a Javascript value to a PHP form and submit as a POST method?
I have a script:
if (cc.isValid()) {
$('#debug').text(cc.hash());
var verifica = cc.hash();
// $('#debug').text(verifica);
console.log(verifica);
alert('Pegou o verifica: '+verifica)
}
I need to take the value of "check" and send along to an HTML + PHP form as a POST method this Javascript value. How can I do?
It worked. Thank you very much.
– Ramos