COURSE of the MONTH

Output of my perl having a link to a javascript method .....

Hi,
I have a html page with 2 frames. The upper frame is the output of a perl program. There is a link in upper frame which should call a javascript
method to change the source of my lower frame.
Now how do the output of my perl program have a link pointing to some javascript method in parent page.

Actually my problem is bit different, I have several
links in test1.html
like link1 , link2 ......linkn and depending on the
link you clicked on I have to change the source
file for the second frame ie change test2 to something
else.
I have to develop something like a FAQ list , depending on the question you click, I have to display
the corresponding details from a file.

Pankaj

0

pankaj_gargAuthor Commented: 2000-01-31

Hey Jhurst,
Sorry for delayed reply, I was not in town.

Actually my problem is bit different, I have several
links in test1.html
like link1 , link2 ......linkn and depending on the
link you clicked on I have to change the source
file for the second frame ie change test2 to something
else.
I have to develop something like a FAQ list , depending on the question you click, I have to display
the corresponding details from a file.

same method will work. I have shown you how to access the objects of the other frame. You can just:
<input type=button onClick=whatever() ...
and the whatever() can reach into the self.parent.frames and change the src values.