asked on
var age = document.getElementById('productid').value;
var wpm = document.getElementById('memberid').value;
var sex = document.getElementById('message').value;
var parameters = "age=" + age + "&wpm=" + wpm + "&sex=" + sex;
mypostrequest.open("POST", "comphp.php", true);
mypostrequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
mypostrequest.send(parameters);
ASKER
ASKER
ASKER
JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.
TRUSTED BY
please provide a link to see your page in live