views:

27

answers:

1

I have a <div>, which is dynamically controlled by the JS, for example, some children are added dynamically. Is it possible to know the width & height of the rendered DIV after the insertion/deletion are done?

+3  A: 

yes,

after your operations to the div you can use

$('#divid').height()

and

$('#divid').width()
John Boker