bobrivers2003
Technical User
I have a user account admin page that contains 2 divs displayed like a layer of cards, and within each div is an iframe releating to a page that changes user account details.
<div id=adminconsole style=\"display: none;\">
<iframe src=\"changeUser.php\" width=925 height=280 frameborder=\"0\"></iframe></div>
<div id=adminnewuser style=\"display: none;\">
<iframe src=\"newUserForm.php\" width=835 height=260 frameborder=\"0\"></iframe>
</div>
the first div contains a page that displays all the user accounts. The second div/iframe combo displays a form to add a new user account. when a new user is added i need the page to be refreshed so that in the adminconsole div the lastest addition to the user accounts is displayed.
I have tried in newuserform.php the following:
onClick=parent.location.reload();
onClick=window.opener.location.reload()
No such luck any ideas.
Thanks in advance
<div id=adminconsole style=\"display: none;\">
<iframe src=\"changeUser.php\" width=925 height=280 frameborder=\"0\"></iframe></div>
<div id=adminnewuser style=\"display: none;\">
<iframe src=\"newUserForm.php\" width=835 height=260 frameborder=\"0\"></iframe>
</div>
the first div contains a page that displays all the user accounts. The second div/iframe combo displays a form to add a new user account. when a new user is added i need the page to be refreshed so that in the adminconsole div the lastest addition to the user accounts is displayed.
I have tried in newuserform.php the following:
onClick=parent.location.reload();
onClick=window.opener.location.reload()
No such luck any ideas.
Thanks in advance