jquery - Load external content in div & manipulate dom -
jquery - Load external content in div & manipulate dom - what want load external content ( different domain name ) div , manipulate dom of external loaded content. exemple load in div bbc.com , want able select "a" tag link in page. here exemple have done in jscribble $(document).ready(function(){ $('#wrap').contents().find('iframe').mouseenter(function() { $('a').hide(); }); }); in jscribble, have seek create "a" tag react using .hide() function in order see if 'tag' found. seems not found because of cross-domain security. so i'm not sure anymore iframe solution. is there other way load external content within div , manipulate dom ? ( external content have different domain name ) you cannot perform manipulations cross domain iframe because of same origin policy. can fetch iframe content server side , serve coming own domain. these links might help cors,phantom jquery dom iframe cross-do...