Hi guys,
I have some text inputs which I would like to submit to a database via PHP using ajax. What i want to do is when the submit button is pressed I want the forms to disappear and on their place to show up a message saying ...."thanks for submitting you data"... how can I do that. any help pls?
so i have [code=html]<form...><input .../>
<input>
<input type="submit">
</form>[/code]
after pressing on submit I want only the text form out of the whole page to disappear and the rest to remain and on their place to show up a message echo-ed by php.
I have some text inputs which I would like to submit to a database via PHP using ajax. What i want to do is when the submit button is pressed I want the forms to disappear and on their place to show up a message saying ...."thanks for submitting you data"... how can I do that. any help pls?
so i have [code=html]<form...><input .../>
<input>
<input type="submit">
</form>[/code]
after pressing on submit I want only the text form out of the whole page to disappear and the rest to remain and on their place to show up a message echo-ed by php.
Comment