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

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -