jQuery .height() problem with chrome

后端 未结 6 1119
离开以前
离开以前 2020-12-10 02:37

I\'ve been using jQuery Height function. But there was a problem in getting the correct height of my div element. This div element\'s height is set

6条回答
  •  情书的邮戳
    2020-12-10 02:54

    This happened to me and the reason what that some images in the div that I was calculate the height of did not have the height attribute set.

    $(window).load( did work for me, but caused too much of a delay for what I wanted to do.

提交回复
热议问题