Click to See Complete Forum and Search --> : Passing functions from form to form


togetslim
07-28-2003, 03:32 AM
I am trying to run a function in frame A, but the funtion is being called for by hitting a button in frame B. So basically I'm asking how to pass a run function from frame A to frame B.

In Frame B...

<a href="#" onClick="changeMNU(3)">Menu 1</a>

"changeMNU(3)" is the function to be run in Frame A

hope this is enough info for someone to help me out.

Thanks, still trying to learn,
AM

xataku_nakusute
07-28-2003, 03:48 AM
in the <a> tag, type in target="the_name_of_your_target_frame"

(eg: <a onclick="doThis()" target="frame_a">)

make sure to name your frames by writing <frame NAME="blah">

the target value should be the same as the target frames name