I have a frameset where I call a JavaScript function in the onLoad
method:
.... <frameset cols="..." onLoad="setFn()">
... <frame name="data_frame" ...>
</frameset>
In setFn, I am dynamically loading the contents of the 'data_frame',
which works fine. I then want to set focus to the 'data_frame':
setFn() { ...
frames.data_frame.location = 'whatever.html';
frames.data_frame.focus();
}
This seems to work OK in IE and Galeon. It doesn't seem to work at all
in Mozilla 1.2.1 (Linux), Netscape 7.1, or Netscape 8.0 (both Win98).
Am I doing something wrong? Is this a known problem? If so, is there a
work around?
thanks,
register_allocation