jQuery: how to include validation in the ajaxForm function? [duplicate]
问题 This question already has an answer here : .ajaxform not working inside the validation submitHandler? (1 answer) Closed 6 years ago . This question has been asked, but the answer wasn't confirmed. I tried it but it didn't work. So I would like to ask the same question again (Is this appropriate? If not, please advise me what to do). I have a form which needs to be validates and then submitted with ajaxForm (the form contains image and file data, so submission with .serialize() won't work).