I don\'t know what is going on here tonight, but I can\'t seem to get AJAX working. When the form is submitted, it refreshes the page with the values in the URL. I\'m using a va
you need to cancel the default behaviour of submit button
$(".button").click(function(e) {
e.preventDefault();
//rest of your code here
var dataString = "fname=" + $("#firstName").val();
alert(dataString);
$.ajax({