javascript - jQuery validate stopping the form post action -
i have form upload csv file server. trying validate file type before sending server. using jquery.validate.js
, addition-function.js
this. here jsfiddle created.
although validating getting issue while uploading. replicate issue, first choose random file other .csv , if press upload button warns with
please enter value valid extension.
now if choose correct file type .csv error label removed form doesn't post. form post if press on upload twice.
please advice on this.
Comments
Post a Comment