Javascript One button is calling another submit
JavaScript event propogation
Inorder to resolve this issue you should be event.stoppropogation and event.preventdefault.
This issue occurs when in a form we have one submit and multiple button so default behaviour cause events propogation.
JavaScript event propogation
Inorder to resolve this issue you should be event.stoppropogation and event.preventdefault.
This issue occurs when in a form we have one submit and multiple button so default behaviour cause events propogation.
Comments
Post a Comment