﻿$(document).ready(function() {

	// validate signup form on keyup and submit
	var validator = $("#feedback").validate({	
		
	
	 submitHandler: function(form) {

     jQuery(form).ajaxSubmit({

    target: "#feedbackout",
    timeout: 3000 // тайм-аут

               });

       },
	
		// set this class to error-labels to indicate valid fields
		success: function(label) {
			// set &nbsp; as text for IE
			label.html("&nbsp;");
		}
	
		});

});








