Manually triggered Abide validation in Zurb Foundation
问题 I'm trying to make myself a form, but I need to prevent some UX stuff depending on if a form was entered correctly. Is there an api for manually issuing the validation routine to a form's field? I know that I could listen to the post-validation events, but I actually need to start the validation from an external source. Is this possible? 回答1: You can dispatch a change event to the form with jQuery: $("#myForm").trigger("change"); It will trigger validation. 回答2: The accepted trigger on the