Click here to Skip to main content
15,894,720 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi All,
I have 2 different project. In a project webpage has i-frame and i-frame has a source page is exist in different project.
I wanted to call a i-frame source page java-script method from main project like this
i wanted call a main page java-script method from i-frame source page.
I mean i want to call a cross communication, How can i do this?
Posted
Comments
Sergey Alexandrovich Kryukov 11-Dec-13 0:35am    
Not clear. The "project" is not something which is effective in production or runtime. Are they different sites or not? Different domains or not? What is "cross communication"? Is it cross-site scripting or not?
—SA

The question does not look clear for me, but I'm afraid that you need to learn something even to pose a question in a comprehensible way. One thing you possibly need to read on is this: http://en.wikipedia.org/wiki/Cross-site_scripting[^].

If, by some reason, this is not exactly relevant to your problem please don't blame me, better read my comment to the question and clarify it.

—SA
 
Share this answer
 
just put "top" brfore your javascript code for that.. :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900