I can upload the image at boot by doing:
<img style="display:none;" src="big3.jpg"> <script type="text/javascript"> $('img').load(function(){ $(this).css({'display':'block'}) }); </script>
But I want to load the div when all img loads, but this does not work, why?
<div style="display:none;"> <img src="big3.jpg"> </div> <script type="text/javascript"> $('div').load(function(){ $(this).css({'display':'block'}) }); </script>
trogne
source share