system :

JQuery : 1.3.1
Validate plugins 1.5.5

#########################################

problem : form validation with <button> under chrome(test under chrome
3.x and chrome 4.0.201.1)
the button value is not sent to POST or GET



solution :
change line 70
######################################################################
if (validator.submitButton){
        // and clean up afterwards; thanks to no-block-scope, hidden can be
referenced
        hidden.remove();
}
######################################################################

by this

######################################################################
if (validator.submitButton) {
        // and clean up afterwards; thanks to no-block-scope, hidden can be
referenced
        // hidden.remove();
}
######################################################################



I think the problem become from Chrome JS engine, which "jump" the
validator.settings.submitHandler.call action.
Why did you remove hidden input ? just for cleaning a form which
already sent ?

thanks for supporting.
Cordialy,
L.Ours.POlaiR | Creabilis


Reply via email to