+ 1
Can we insert a form in popup box in html?If yes how?
3 ответов
+ 5
I guess that form itself ought to be turned into a popup box. Set its position as fixed. Add a button at the end of the form like this:
<button onclick='document.getElementById("formId").style.display = none;'>Close</button>
and voila! Your form is a popup box, which will become hidden when the Close button is clicked.
Unfortunately, I don't have the time to write the code. Sorry for the inconvenience :-(
+ 1
https://code.sololearn.com/W63hah0rcoNy/?ref=app