By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,852 Members | 2,116 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,852 IT Pros & Developers. It's quick & easy.

Iframe cross-domain (not specific page) doesn't work in IE

P: 1
Following my code:
Expand|Select|Wrap|Line Numbers
  1. iframe = document.createElement('iframe');
  2. iframe.name='iframe';
  3. iframe.id = "iframe";
  4. document.getElementsByTagName('body')[0].appendChild(iframe);
  5. document.getElementById('iframe').src= "http://nominatim.openstreetmap.org/search?q=135+pilkington+avenue,+birmingham&format=json&polygon=1&addressdetails=1";
It's works with Firefox,Chrome,Safari, but with Internet Explorer 7 it does not work. How to solve?
Nov 15 '13 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.