Code: Select all
POS.php
|
|
--includes MAIN_POS.PHP
|
|
--includes POS_IFRAME_LIST.PHP
|
|
--includes POS_IFRAME_CONTENTS.PHP
|
|
--includes POS_TRANS_EDIT.PHPThe pos_iframe_contents.php file has an edit button, that when pressed, calls via form data, pos_trans_edit.php. After pos_trans_edit.php does its thing to the database it wants to refresh the complete pos.php file so other data on that page can now be updated with the new changed data in the database.
When I try and do with javascript this, I either get:
A)looping refresh of the iframe -- parent.document.location.reload();
B)looping refresh of the whole page -- window.parent.location.reload();
C)no refresh -- lots of other javascript tried here
Can anyone give some suggestions? I'd really appreciate it.
Rob