posted 12 years ago
When we submit the form using a standard submit button, onSubmit is triggered and form is submitted.
When I use a div and call submit() on its onClick event, the form is submitted but onSubmit is not triggered.
Is there any possibility to trigger onSubmit explicitly without using button ??