teng84 Posted June 16, 2008 Share Posted June 16, 2008 hi how can i read the content of an i frame i want to access the content of that i frame to use in other function <iframe id="myHeaders"src="http://thepiratebay.org/ajax_details_filelist.php?show=1&id=4137201" > any thoughts? Quote Link to comment Share on other sites More sharing options...
rhodesa Posted June 16, 2008 Share Posted June 16, 2008 For security reasons you can't access the content of iframes that are on a different domain with JavaScript. You have to set up an intermediary server side script (like PHP) to read the contents and return it to you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.