`. I need to get the height of this child div when it exists.
I was hoping I could do something like this...
$("#parentDiv > DIV").height();
or this...
$("#parentDiv > DIV")[0].height();
Since jquery $ returns an array. The second one gives javascript errors so I know I'm off there. I think these should be close though. Any ideas?
Edit:
Here is the html I am running against.
以上就是How do I use jquery to get the height of a dynamically created child element with no Id的详细内容,更多请关注web前端其它相关文章!