Ok, this is my first post and it's kind of long, so bear with me...
I have these php pages. One is the user info page which loads tables of the user's info. The table data is generated by functions located in another file. The user has the option of editing their info which brings up a popup window that contains the editing page. Once the editing is done, the window closes. I would like the user info page to then automatically refresh the table that has just been edited. Currently I have a test button on the user info page that calls a jquery script and refreshes the appropriate table. This works fine, but it is manual, and I would like it to be done automatically. I tired including the user info page on the editing popup page and then calling the script when the user clicks the save button, but it says the function is undefined. If I put the script code on the popup page, then the tables and divs are undefined. So I need help getting this to work. I'm not sure how to do this. I'm pretty new to all of this. I think maybe an ajax call from the popup page telling the user info page to update the table would work, but I'm not sure how to do that. Any ideas or thoughts on how to fix this problem supported with sample code would be extremely helpful!!! Let me know if this is confusing or if I need to add more details.
Thanks in advance!!!