G
Gordon Mohr
I'd like to set up a bit of javascript to be run when other javascript
loads a new page via something like { top.window.location.href =
newLocation }, and have access to the new value. (For example, so that
the target URL can be modified before fetching.)
In Mozilla, top.location.watch("href",fn) works well for this purpose.
In IE, neither watch() nor an onpropertychange handler set on
top.window.location work.
Any tricks to making this work? Any alternate approaches I should
consider.
Any help appreciated. Thanks,
- Gordon @ IA
loads a new page via something like { top.window.location.href =
newLocation }, and have access to the new value. (For example, so that
the target URL can be modified before fetching.)
In Mozilla, top.location.watch("href",fn) works well for this purpose.
In IE, neither watch() nor an onpropertychange handler set on
top.window.location work.
Any tricks to making this work? Any alternate approaches I should
consider.
Any help appreciated. Thanks,
- Gordon @ IA