+ 1

Can we insert a form in popup box in html?If yes how?

26th Jun 2018, 12:41 PM
Parth Murarka
3 Respuestas
+ 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 :-(
26th Jun 2018, 12:50 PM
DAB
DAB - avatar
26th Jun 2018, 1:02 PM
Calviղ
Calviղ - avatar
+ 1
https://code.sololearn.com/W63hah0rcoNy/?ref=app
26th Jun 2018, 1:02 PM
Calviղ
Calviղ - avatar