Jump to content

document.getElementById('submitted').innerHTML


Pawan_Agarwal
Go to solution Solved by 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......

Link to comment
Share on other sites

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...........

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.