I am playing with jquery.
I have loaded a wikipedia page into an iframe. This was fun and good.
Now, I want to remove an element from the wiki page I loaded inside the iframe (or maybe reload it into iframe without that element?). As an example, say I want to remove the ‘left-navigation’ element or something similar.
Is this possible? If so, how can I?
You cannot. This is apart of the cross-domain policy. You cannot “mess with” so to speak, iframes that are loading a page from another domain. Obviously, this does not apply to iframes linking to pages on your own domain. This articles discusses some solutions and hacks on the issue: http://softwareas.com/cross-domain-communication-with-iframes