Calling JS in frameset page from child frame

D

Da Costa Gomez

Hi,

I was wondering whether the following is possible and if so how.

Home.html contains a frameset with col(0, *)
frame-1 contains a source that just carries JS functions (and is
basically hidden from view)
frame-2 contains the 'normal' content stuff where all the intercation
takes place.

Challenge:
In frame-2 there is a normal page with an onclick event.
The method to be executed is defined/ carried in frame-1.
Is there a way to call the method in frame-1 from the event in frame-2??

There are tech reasons for *not* storing the JS server-side so and for
*not* including the required JS *within* the content.html page. The JS
however has to *always* be available. Reload of content.html would
negate this, hence the frame solution & Question.

TIA,
Fermin DCG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top