How can I get clientHeight value outside backbone render function? <p>I using <a href="http://github.com/zynga/scroller/blob/master/src/EasyScroller.js" rel="nofollow">zynga scroller</a> javascript for scrolling in backbone web-app but clientHeight of rendered element is always 0. This is because script for scrolling is loaded and executed before backbone render method.</p> <pre><code> render: function(){ var persons = this.model; var personsCollection = new PersonsCollection(persons); this.el.innerHTML = _.template( personsTemplate,{data : _.groupBy(personsCollection.toJSON(), 'status')} ); console.log(this.el.clientHeight); // ========= 1500 new EasyScroller(this.el, {scrollingX: false, scrollingY: true}); }, </code></pre> <p>Is possible to execute loading of scroller javascript after render? Or any other solutions? <strong>From scrolling script:</strong></p> <pre><code>EasyScroller.prototype.reflow = function() { this.scroller.setDimensions(this.container.clientWidth, this.container.clientHeight, this.content.offsetWidth, this.content.offsetHeight); }; </code></pre> <p>Thank you for any help!</p>