Using the height of another element
<p>I'm currently trying to get a jQuery slider to use the percentage height of a div.</p>

<p>The usual code in my HTML page is:</p>

<pre><code>window.f = new x.slider('#slider1', {...options...});
</code></pre>

<p>And the .js:</p>

<pre><code>x.slider = function(elem, opts)
...
var _this = this;
this.element = $(elem);
this.height = this.options.height ? this.options.height : null;
</code></pre>

<p>My question is, rather than using "this" to get the height from, how would I get it from another div, say "#basis"?</p>

<p>I've tried a few things, but I'm new to jQuery, and this is only a quick problem.
Thank you for your help. Please do tell me if you need more information.</p>
