Pawan_Agarwal Posted June 16, 2013 Share Posted June 16, 2013 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...... Quote Link to comment https://forums.phpfreaks.com/topic/279228-documentgetelementbyidsubmittedinnerhtml/ Share on other sites More sharing options...
trq Posted June 16, 2013 Share Posted June 16, 2013 And your question is? Quote Link to comment https://forums.phpfreaks.com/topic/279228-documentgetelementbyidsubmittedinnerhtml/#findComment-1436226 Share on other sites More sharing options...
Pawan_Agarwal Posted June 16, 2013 Author Share Posted June 16, 2013 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........... Quote Link to comment https://forums.phpfreaks.com/topic/279228-documentgetelementbyidsubmittedinnerhtml/#findComment-1436250 Share on other sites More sharing options...
trq Posted June 16, 2013 Share Posted June 16, 2013 I understand what it is you want to do, still, you haven't told us your actual issue. Quote Link to comment https://forums.phpfreaks.com/topic/279228-documentgetelementbyidsubmittedinnerhtml/#findComment-1436277 Share on other sites More sharing options...
Solution Pawan_Agarwal Posted June 17, 2013 Author Solution Share Posted June 17, 2013 I did it !!!!! Quote Link to comment https://forums.phpfreaks.com/topic/279228-documentgetelementbyidsubmittedinnerhtml/#findComment-1436357 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.