RussellReal Posted November 13, 2010 Share Posted November 13, 2010 Ok, let me draw up a scenario for you guys My site's code: lala.com <html><body> <iframe src="lol.com"></iframe> </body></html> lol.com's code: <html><body> <iframe src="random url"></iframe> </body></html> from lala.com I want to get lol.com's random url from their iframe.. I DO NOT WANT TO MODIFY THE DOM. BUT IF I MUST ITS OK I know that frames[0][0].location WILL WORK in internet explorer, but not in any other browser.. I need a cross browser solution, this feature is instrumental and needs immediate attention . THANKS! Link to comment https://forums.phpfreaks.com/topic/218583-getting-the-url-of-an-iframe-within-a-3rd-party-page-with-javascript/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.