How to get the height of a div and store into a variable?
.top {
content:url(../images/top480.jpg);
z-index:0;
border-bottom:1px solid #000000;
width:100%;
}
/* The weight is variable, is not fixed*/
I am trying something like this:
var hou = $(".top").width();
window.alert(hou);