Jump to content

document.getElementById('submitted').innerHTML


Pawan_Agarwal

Recommended Posts

Hello, 

 

I am working in PHP, on a page, I am requesting user to enter name, number, email address. After submit, the table must vanish and a message must be displayed on the same web page. 

 

<table>

<tr>

 

<td>Name</td>
<td><input type="text" size="65" name="fname"></td>

</tr>

 

 

<tr>

<td>Name</td>

<td><input type="text" size="65" name="fname"></td>

</tr>

 

 

<tr>

<td>Name</td>

<td><input type="text" size="65" name="fname"></td>

</tr>

</table>

 

I have written the table that I am using to display on the page. I want to display message "Your data has been submitted" after the user click submit button. Table must vanish and only the message must be there on the same page......

I guess you don't understand... After submitting the details a message must appear on the place of table on same page........

 

To understand better what I am explaining, please goto this page "http://meeruthunt.hpage.com/" and see what happens when you submit the details on contact page..........There are 3 links : "Welcome", "Current Vacancy" and "Contact", please submit the details on contact page and see what happens, I want to implement the same for my website...............Thanks for your time...........

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.