Hi all,
I am having a problem calling two separate javascript functions from an
applet at the same time.
I can call them both separately, but not together.
My applet should take some arguments in from an applet (as a
string), then create a html page from the string and display it in a separate window.
The first function is to open a page in a new window:
The function is defined in a .js file
This works fine where mainpage.htm exists in the same directory which the applet is running from.
The second function is to create a html page from a string:
This successfully creates and displays a page from a string.
There is also a second, alternative function to do the same thing:
This also successfully creates and displays a page from a string.
Now I need to open the page created from the string in a new window by combining the functions. I have tried lots of things here such as:
but nothing seems to work.
If anyone has an idea how to combine two javascript functions like this it would be a big help.
Thanks.
Eoin.
[ July 20, 2007: Message edited by: Eoin Mac Aoidh ]