I trying to add a two fields to a contact form and append the form data to the submit.
<script type="text/javascript">
$(document).ready(function(){
alert(document.getElementById("customer:quantity").value);
alert(document.getElementById("customer:usage").value);
$(":submit").click(function () {
$("div").append("customer:quantity");
});
$(":submit").click(function () {
$("div").append("customer:usage");
});
});
</script>