Solution:-
S.No | onClick() | onSubmit() |
1 |
Event Category:
onClick() is a mouse event |
Event Category:
onSubmit() is a form event
|
2 |
When it occurs:
This event occurs when a user click on mouse button |
When it occurs:
This event occurs when we try to submit a form |
That’s it!!…..Happy Programming...
Can u evaluate this more??
ReplyDelete