jQuery.ajaxSetup({ 
  'beforeSend': function(xhr) {xhr.setRequestHeader("Accept", "text/javascript")}
})

jQuery.fn.submitWithAjax = function() {
  this.submit(function() {
    
  })
  return this;
};

$(document).ready(function() {
	$('#formEnquete').submit(function (){  
		$.post($(this).attr('action'), $(this).serialize(), null, "script");  
		return false;  
	});
})