I've got an element that I want to determine its height and width so I can fill it properly, but when I use
$('#element').height();
$('#element').width();
it returns the values in percentages. I've been looking for a solution, but all the questions that come up in my searches imply that jQuery returns the pixels by default, and so do not explain how to get it to do so.