Online Shopping : 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?

175 of 309 people (57%) answered Yes
Recently 7 of 10 people (70%) 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.