questhaven
Programmer
Hi there! I am having a problem with the code below and was hoping someone might see why it is not working as it should. What is supposed to happen is as follows:
When a user clicks on the word "Share" (which is located in the left frame) it is supposed to refresh the left frame with a file called access.asp and refresh the main frame with a file called record_share.asp. Currently the first time the word Share is clicked it refreshes the left frame ok, but it does not refresh the right frame with record_share.asp. However, if I click on the word share a second time then it works correctly. Any ideas as to why this is happening would be greatly appreciated!
Thanks!
<a class="tabsel2" title="Share patient" href="#" onClick="parent.main.location='record_share.asp';self.location='access.asp'"><FONT color="#000000!important">Share</FONT></a>
When a user clicks on the word "Share" (which is located in the left frame) it is supposed to refresh the left frame with a file called access.asp and refresh the main frame with a file called record_share.asp. Currently the first time the word Share is clicked it refreshes the left frame ok, but it does not refresh the right frame with record_share.asp. However, if I click on the word share a second time then it works correctly. Any ideas as to why this is happening would be greatly appreciated!
Thanks!
<a class="tabsel2" title="Share patient" href="#" onClick="parent.main.location='record_share.asp';self.location='access.asp'"><FONT color="#000000!important">Share</FONT></a>