+ 2

Hello guys how can I hide a form section and show another html content with the submit button in JavaScript??

Showing a hidden content with JavaScript

25th Jul 2020, 7:03 AM
Abosi Godwin
Abosi Godwin - avatar
2 Réponses
+ 1
Better use jQuery because it has hide() and show() methods.
25th Jul 2020, 8:05 AM
Никита
Никита - avatar
+ 1
listen for submit event ,prevent default action ,make the form display to none and another html content to block which you must have set to none , hopefully you got an idea !
25th Jul 2020, 9:01 AM
Abhay
Abhay - avatar