Hi,
i want to to get the height/width of an image inside a hidden div-containter, but .height() and .width() both returns 0 (like expected).
$('body').append('<div id="init"><img id="myimg" src="someimage.png" /></div>');
$('#init').hide();
$('#myimg').height(); // == 0
$('#myimg').width(); // == 0
How can i get the correct height/width of the image? I need it to make some decisions :-)
Best regards, Biggie