Entry
How do I Call a funtion from another frame?
in NN: frame1 calls func in frame2 on diff. dir-level. all refs in function are relative to callers
Dec 17th, 2000 15:52
Narayanan Sankaranarayanan, held op sokken, hans spoelstra, How do I call a function from another frame?
Hi,
This is Ryan Norman ( Narayanan Sankaranarayanan ).
Let us assume that a page has two frames. First one named winShowField
and the second one named winShowCondition. A button in the second frame
( winShowCondition ) can be coded like this.
<input type="button"
name="cmdClear" value="Clear" onClick="return( top.frames
[ 'winShowField' ].validateClear() );">
Hope this helps
Ryan Norman ( Narayanan Sankaranarayanan )