0

Php form disappear when I click submit button but my data insert successfully

My question is how form is active or show on the screen even i click the submit button . Form is in the div. Div style property is display:none; when I click the submit button webpage reload and hide the form. How to fix this problem when I click submit button the form is not hidden.

19th Dec 2019, 3:13 PM
Muzamil Qasim
Muzamil Qasim - avatar
3 Respostas
+ 1
Blame your property {display : none} change it to block or inline-block
24th Dec 2019, 12:31 PM
Sarah
Sarah - avatar
0
Sarah but I want my form is hide till I click button to show form thats why I set property to display none.
24th Dec 2019, 6:03 PM
Muzamil Qasim
Muzamil Qasim - avatar
0
So its because the page is refreshed then the form will again not be shown right? I think you need javascript to fix the problem.
25th Dec 2019, 1:00 AM
Sarah
Sarah - avatar