D
doug
I am loading some HTML into a lightbox div via AJAX.
What I would like to do is load the HTML into the lightbox div (a
scrollable one), then get the height of the content of the div (not
the height of the div itself which would is fixed).
Then I would like to resize the div to be the height of the content.
How can this be done? What are some attributes in the DOM that I
should look at besides height?
What I would like to do is load the HTML into the lightbox div (a
scrollable one), then get the height of the content of the div (not
the height of the div itself which would is fixed).
Then I would like to resize the div to be the height of the content.
How can this be done? What are some attributes in the DOM that I
should look at besides height?