FN-FORUM: Javascript security model?
date posted 13th January 2008 23:42
Hi,
I am trying to change a frames based javascript tree browser to
work in a single page, regardless of whether that page is in a frame,
standalone page or popup window.
To try to get back to basics I wrote the following:
function sayHi() {
alert("you");
}
function init() {
document.open();
document.write("Hi");
document.close();
}
when this worked in Konqueror but not in Opera or Firefox I decided I needed
help.
Both Opera and Firefox say that sayHi is undefined when you click on the link,
which is displayed in all three.
Pointers to a good reference would be great, as I have googled in vain.
cheers
TimP