I need to get the height of span inside a hidden element with jquery. I already tried a few things, including change the css of my div to ‘position’:’absolute’,’visibility’:’hidden’,’display’:’block’ and making a clone of the whole thing but nothing worked. Not even the jquery actual plugin
I made a simplified example in jsfiddle http://jsfiddle.net/5XreY/
You can also set only visibility to hidden, and then measure it. http://jsfiddle.net/5XreY/1/ Element won’t be visible, but will be measurable and if you want it to be display: none you can set this right after you measure its height.