• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Web application people: please help!

dmurray14

Golden Member
Hokay,

I have a database driven web page that is returning a list of inventory from the database after a search. Next to every entry in the list is a modify button that makes a javascript popup window with a form to modify the contents. After a user clicks submit, the page posts the data to another page which performs a query to update the database, then javascript closes the popup window. What I need to do is make it so that when the popup window closes, it refreshes the original page with the list of inventory. I also want it to reload using the previous data it posted to that page (ie if I were to press refresh on the inventory list page it would ask if i wanted to use the previous data that was sent with the page and I would have to click retry). Any ideas on how to get this to work?

Thanks,
Dan
 
Originally posted by: dmurray14
Hokay,

I have a database driven web page that is returning a list of inventory from the database after a search. Next to every entry in the list is a modify button that makes a javascript popup window with a form to modify the contents. After a user clicks submit, the page posts the data to another page which performs a query to update the database, then javascript closes the popup window. What I need to do is make it so that when the popup window closes, it refreshes the original page with the list of inventory. I also want it to reload using the previous data it posted to that page (ie if I were to press refresh on the inventory list page it would ask if i wanted to use the previous data that was sent with the page and I would have to click retry). Any ideas on how to get this to work?

Thanks,
Dan

sounds like how this forum works. look in the html source?
 
don't understand the last part, but you can do window.opener.{whatever the function is to reload which I've forgotten - location.refresh?} from the pop-up before you close it.
 
Back
Top