faqts : Computers : Programming : Languages : JavaScript : Frames

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

170 of 303 people (56%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

Inside an <IFRAME>, how do I call a JavaScript function outside it? (In the parent frame)
How can I call a function, wich is inside an iframe, from the parent document. The problem is that t

Jun 25th, 2001 06:22
Tom Sugden, Rob Beckett, Babak Bandpey,


From within an IFrame you can use:

    window.parent.singAndDance();

to access a function called "singAndDance()" in the IFrame's parent.