Oops, I'm not able to collapse the height of an object in the document.
I have a slider, which works with ul > li
(maybe it's relevant), and inside a <li>
slide, I'm putting via javascript and c # three divs, each with an image inside.
What I need is to collect the height that the image was rendered. I have tried in many ways access, but it seems that javascript can not gather data at runtime ...
I've tried:
$("foo").height();
$("foo").naturalHeight(); // nesse caso eu teria uma solução "budget" para o caso
$("foo").outerHeight();
After storing the data, I need to give a set in another div according to the result found.
$("#noticias").css("height", fullHeight);
I've also tried to give a timeout after feeding the divs created by C #, but that did not work either. The question is: Is there anything that helps me gather data at runtime? Between js and jQuery?
I appreciate any suggestions.