Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

iframe and buttons

Posted on 2003-02-24
1
Medium Priority
?
141 Views
Last Modified: 2010-04-09
I want to create an iframe with a button in the source that , when clicked, runs a function in the parent html document. Is this possible?

If not, is it possible to have two frames, clicking a button in one runs a function in the other?
0
Comment
Question by:winnydapoo
1 Comment
 
LVL 17

Accepted Solution

by:
dorward earned 400 total points
ID: 8008054
http://jibbering.com/faq/#FAQ4_8

So (as far as I can tell).

From the Iframe to the parent:

parent.myFunction()
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question