Guest_imported
New member
- Jan 1, 1970
- 0
Hello!
I have a page having two frames. At the left, there is a list of customers with a link displaying information on these customers within the frame of right side. At the right side, I can have a page A for information A, a page B for information B, etc. If I work on the page C of customer 1 and that I click on the name of customer 2 of the list, I would like that the link is 'pageC'. If I am in the page B, the link is 'pageB'. I wrote the following script:
function seekactiondetail(){
self.href = parent.frame2.location.href;
};
Here is the code HTML of the link:
<A HREF="pageA " onClick="seekactiondetail>Aabed, Abdelaali</A>
But the 'self' object is undefined. Do you know why?
Thank you in advance!
I have a page having two frames. At the left, there is a list of customers with a link displaying information on these customers within the frame of right side. At the right side, I can have a page A for information A, a page B for information B, etc. If I work on the page C of customer 1 and that I click on the name of customer 2 of the list, I would like that the link is 'pageC'. If I am in the page B, the link is 'pageB'. I wrote the following script:
function seekactiondetail(){
self.href = parent.frame2.location.href;
};
Here is the code HTML of the link:
<A HREF="pageA " onClick="seekactiondetail>Aabed, Abdelaali</A>
But the 'self' object is undefined. Do you know why?
Thank you in advance!