I have an iframe that is loading an image to give a false feel of Ajax loading.
There is javascript in this iframe content that checks for different things and sends status. It is almost like a progress report. Anyway, my page containing the iframe is the one that shows the data and what is not, so I want to change the data on the parent page from the iframe. Here is my code:
<div id="iframe_response"></div> <iframe style="border:none" src="someurl" width="100%" height="350px" id="iframe"></iframe>
And here is my jQuery in iframe:
$('#iframe_response', "#iframe").append('this should go there but it\ not...');
However, he writes nothing to this div. I called it on document.ready, but alas ...
What am I doing wrong?
source share