Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript get height. Re: get height.

#141142
Eric Gregoire
Participant

Not sure what you’re doing or what the code is that you are weaving this into, but you could set it with:

document.getElementById('otherDiv').style.height = h; //The variable used in the previous example defining 'h' as the wrapper height.