javascript - Loading content from a div from another website into an iframe on current page -


I was able to load a full page in an iframe, but I want a certain part of the page. I know what I need to know the div id is this is my current code

  onload = function () {var el = document.getElementById ("frameContainer") el.innerHTML = " & Lt; iframe src = \ "url \" & gt; & lt; / iframe & gt; "}  

I was thinking of getting the full page and then from there to div Caught and displayed it, but I did not understand how

any suggestions?

You have foiled cross-domain issues, instead of server-side / curl-ish solutions Consider the type?


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -