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.
3 odpowiedzi
+ 1
Blame your property {display : none} change it to block or inline-block
0
Sarah but I want my form is hide till I click button to show form thats why I set property to display none.
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.