+ 1

Why "cancel" button doesn't work here? šŸ¤”

https://code.sololearn.com/Wxyqr2LKGnZG/?ref=app

18th Feb 2021, 2:54 PM
ā„¢įŽ į„²Ź€ĪŗĶ¢ā˜¢Óƒį“ŽĶŸĶžÉŖĶžĶŸŌĶžĶŸŹœĶžĶŸį“›]ā„¢
ā„¢įŽ į„²Ź€ĪŗĶ¢ā˜¢Óƒį“ŽĶŸĶžÉŖĶžĶŸŌĶžĶŸŹœĶžĶŸį“›]ā„¢ - avatar
2 Answers
+ 4
because 'cancel' button is a basic button type: you need to implement code to be executed on click ^^ 'submit' and 'reset' are specific button type, wich comes with default action implemented ;)
18th Feb 2021, 3:21 PM
visph
visph - avatar
+ 2
źŒšź©ź‡ź‹°ź©ź²ź‚µ is there any such button that form tag supports ? If not, then you need to add custom function to it if you want to do something .
18th Feb 2021, 3:03 PM
Abhay
Abhay - avatar