Get help. Give help. A Web Design and Development Community.
Sorry, for dumb question but why doesn’t work height? :D
This reply has been reported for inappropriate content.
clientHeight is read-only, try
document.getElementById(‘block’).style.height = h + ‘px’;
You must be logged in to reply to this topic.