jQuery code:
Code:
//organize data
var dataString = 'name=' + name + '&bizname=' + bizname + '&email=' + email + '&phone=' + phone + '&message=' + message;
//show loading image & disable text fields
if(hasError == false) {
$(this).hide();
$("#qcontact li.buttons").append('<img src="../_images/loading.gif" alt="Loading" id="loading" />');
$('.text').attr('disabled', 'true');
$('.expand').attr('disabled', 'true');
}//begin ajax
$.ajax({
url: "http://inprogress.thinksnapdesign.com/snapdesignstudio/processing.php",
type: "GET",
data: dataString,
cache: false,
success: function(html) {
if (html==1) {
$("#quickcontact").fadeOut("slow");
$("#qcontact-form").slideUp("slow");
$(".done").fadeIn("slow");
}
}
});
This is probably something really simple, but I am getting:
The following error occurred in FormMail :
no_recipients
**********
Error=The form has an internal error - no actions or recipients were specified.
Form submits fine without javascript, but I'm not sure what to include to get it to submit via jquery/ajax. Any ideas??
Bookmarks