Click to See Complete Forum and Search --> : Calling Java Functions


golgeyele
08-21-2003, 06:30 AM
Hi;
I have two pages. One contains a java function defined and the other one does not. I want to know if it is possible to call the java function from another page. Clearly page 1 has the function and I want to call the function in page one from page 2. Both pages are in the same server, same domain.

Thanks....

Khalid Ali
08-21-2003, 08:07 AM
is the second page a child window?
or are they both in a frameset?

if any of the above is correct then you can access the function otherwise you can't

golgeyele
08-21-2003, 08:13 AM
The second page is generated by a java code in the first page.
I don't know lot about java. The link that opens the second windows is below. I want to call the java function from the second page though the function is written in the first one. Hope this tells you whot you wanna to ask.

Thanks a lot for your concern.

[CODE]<a href="#" onclick="mywinname01betaborder=openIT('index.swf',801,400,null,null,'mywin005',10,true,true,false);self.close ();return false;">">[CODE]

golgeyele
08-21-2003, 04:17 PM
I don't know how to define the path for the other page.