Click here to Skip to main content
15,610,660 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all,
I am facing some issue related to Iframe.

I have two websites which are hosted on different web server. In my first website , there are four pages
Like page1,page2,page3 and page4 and pages contains 4 button button1,button2,button3 and button4 . When I click on button1 then page1 display………… similarly when I click button2 then page 2 display.

Now page1 contains one I Frame where I have set source URL to my other page of website 2 and page of website2 contains button.

Now , what I want. When I click button of page of website2 then it should redirect to page2 of website1 . We don’t loss session page website1 . Please let me know any best approach to accomplish this problem.

1 solution

You will need to code it so the buttons navigate to the desired location. The page being displayed in the IFrame is not controlled from the page it is being hosted in.
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