124
rated 0 times
[
128]
[
4]
/ answers: 1 / hits: 55322
/ 10 Years ago, wed, july 9, 2014, 12:00:00
I have a modal in which I need to validate some input using knockout validation.
When I click the submit button, a function is called that validates the data. The following functionality is expected:
- If the validation fails, the modal stays open and the validation reason is displayed.
- If the validation succeeds, I want to close the modal.
How can I go about closing the modal inside my function?
More From » jquery