jQuery.noConflict();

jQuery(function($) {
  
  $("#commentForm").
    submit(function() {
      if ($(this).valid()) {
        $.ajax({
          data: $(this).serialize(),
          type: "POST",
          url: $(this).attr('action'),
          dataType: "text",
          error: function(request, status, error) {
            $("#output").html("Ihre Email konnte leider nicht verschickt werden.");
          },
          success: function(data, status) {
            $("#output").html("Vielen Dank. Ihre Email wurde verschickt.");
          }
        });
      }
      return false;
    }).
    validate();
  
});



