/    Sign up×
Community /Pin to ProfileBookmark

Calling Java Functions

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….

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliAug 21.2003 — 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
Copy linkTweet thisAlerts:
@golgeyeleauthorAug 21.2003 — 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]
Copy linkTweet thisAlerts:
@golgeyeleauthorAug 21.2003 — I don't know how to define the path for the other page.
×

Success!

Help @golgeyele spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...