use jquery to get form data code example Example: js retrieve form data var nameValue = document.getElementById("uniqueID").value;