+ 1

Why "cancel" button doesn't work here? đŸ€”

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

18th Feb 2021, 2:54 PM
ℱᎠá„ČʀÎșͱ☱Ӄᮎ͟͞ÉȘ͟͞ԍ͟͞ʜ͟͞᎛]ℱ
ℱᎠá„ČʀÎșͱ☱Ӄᮎ͟͞ÉȘ͟͞ԍ͟͞ʜ͟͞᎛]ℱ - avatar
2 Respostas
+ 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