Hi
I'm having a problem with my parent/child window relationship and the firefox browser
My parent page "P" has a list of students on it and opens the child page "C" with a selected student's details on it
My child page "C" calls a function on the parent page to get the id of the next student in the list using:
self.opener.get NextStudent();
My child page then uses window.open(url , "_self"); to reload itself with the next student details on it
In IE this works fine and I can move through the list of students on the child page getting the next id from the parent and reloading itself with the that student's details
In firefox this works the first time but after the child page "C" has reloaded iteslf with the next student's details it thinks its self.opener is itself "C" not "P".
Any ideas on how to get the child window to remember its original parent?
#####Update#### #
I got round the problem by calling the function on the parent that opens the child window again with the next students details on it rather using code on the child to do it
- that way it keeps the self.opener as the parent
I'm having a problem with my parent/child window relationship and the firefox browser
My parent page "P" has a list of students on it and opens the child page "C" with a selected student's details on it
My child page "C" calls a function on the parent page to get the id of the next student in the list using:
self.opener.get NextStudent();
My child page then uses window.open(url , "_self"); to reload itself with the next student details on it
In IE this works fine and I can move through the list of students on the child page getting the next id from the parent and reloading itself with the that student's details
In firefox this works the first time but after the child page "C" has reloaded iteslf with the next student's details it thinks its self.opener is itself "C" not "P".
Any ideas on how to get the child window to remember its original parent?
#####Update#### #
I got round the problem by calling the function on the parent that opens the child window again with the next students details on it rather using code on the child to do it
- that way it keeps the self.opener as the parent
Comment