getting the js error : Microsoft JScript runtime error: Object doesn't support this property or method
<p>Tried to get length of the listbox: </p>

<pre><code>var list = $.clientID('lstCategory');
alert(list.options.length);
</code></pre>

<p>This threw the exception:</p>

<blockquote>
  <p>Microsoft JScript runtime error: Object doesn't support this property
  or method.</p>
</blockquote>

<p>Anybody please help.</p>
