tags:

views:

409

answers:

1

we have iframe

<iframe src="m1.html">
</iframe>
<div style"display:none"><p>contents</p>
<img src="url-session-data" />
<div>

through jquery ,we are loading div contents to iframe , problem is image is not loading in IE8 but working fine in IE6,FF etc

any suggestion?

Note: url-session-data is dynamic loading

+1  A: 

Your iframe might not be ready even when document itself is. Use frameready jquery plugin: http://ideamill.synaptrixgroup.com/?p=6
For IE8 it takes more time to process the frame. This get IE6 to work well.

alemjerus