SalemGrafix
IS-IT--Management
I am creating a website for a friend, and I'm not sure if this is something that can be done with HTML, Javascript, or at all:
Main Page displays info from a database. If the user viewing the page clicks on "Add" to add more information, a "child" page pops up, and asks for data.
"Child" page has the form, asks for the data, and once the user hits submit, the data is then stored in the database.
So far, so good, I have this complete. Here's where it gets tricky:
I want the "Child" page to auto-close once the data has been saved in the database (not a big deal there), but also refresh the page on the Main page (this is where I'm stuck).
I'm not sure if one web page can refresh (or redirect) another web page. Is this possible? And if so, anyone have any code or examples to demonstrate this? I have searched Google, but I think I'm missing the proper keyword or terminology for finding this, if it's even possible.
Thanks for any help you can provide.
Main Page displays info from a database. If the user viewing the page clicks on "Add" to add more information, a "child" page pops up, and asks for data.
"Child" page has the form, asks for the data, and once the user hits submit, the data is then stored in the database.
So far, so good, I have this complete. Here's where it gets tricky:
I want the "Child" page to auto-close once the data has been saved in the database (not a big deal there), but also refresh the page on the Main page (this is where I'm stuck).
I'm not sure if one web page can refresh (or redirect) another web page. Is this possible? And if so, anyone have any code or examples to demonstrate this? I have searched Google, but I think I'm missing the proper keyword or terminology for finding this, if it's even possible.
Thanks for any help you can provide.