validation 1.9.0: remote error appears, even if input is valid

validation 1.9.0: remote error appears, even if input is valid

Hello,

im using the validation plugin 1.9.0 and jquery 1.8.0.
When im using the remote option to validate input and the validation fails, the error message is still alive even the callback of remote ist true.

The validation without remote is working fine. The php script is sends json true or false back

  1.   if( $slc == "v.menge" && $arr["menge"] != $_POST["menge"] )
                    echo json_encode(true);
            elseif($slc == "a.artikelnr" && $arr["artikelnr"] == $artikel)
                   echo json_encode(true);
            else
                      echo json_encode(false);




  2.       $("#frmSetVoucher").validate({
                rules: {
                    artikel: {
                        required: true,
                        integer: true,
                        remote: {
                            url: "scripts/php/prfStock.php",
                            type: "POST",
                            data: {
                                artikel:artikel,
                                charge:charge,
                                slc:"a.artikelnr"
                            }               
                        }








                    },
                    charge: {
                        required: true,
                        integer: true
                    },
                    menge: {
                        required: true,
                        integer: true,
                        min: 1
                    }
                },
                messages: {
                    artikel: { remote: "Artikel-Nr. Nicht vorhanden"}
                   
                },



                submitHandler: function(){
                       
                  //remove displayed items
                  $("#tblItems,#frmVoucher,.tblDetails").remove();
             
                       $("#src").val(window.location.href);
                  var url = "scripts/php/tblRows.php";
               
                  //serialize data for ajax
                  var formData = $("#frmSetVoucher").serialize();
                   
                    //print ajax-data to document
                    var batch = function(reply){
                       
                    $("#content").append(reply);
                    $("#tblItems tbody tr:even").addClass('even');
                    $(".inpVoucher").attr("readonly","readonly");
                    $(".Menge").removeAttr("readonly","readonly");                          
                }
                 
                $.post(url,formData,batch,"html");
                }
            });







































Got someone a idea?