javascript function
<p>can someone explain what this function is doing </p>

<pre><code>var page = new Object();  
page.testSearch.btnSearch.setState = function() {
    this.disable(!(page.testSearch.searchString.value.trim().length &gt; 1));  
}  
</code></pre>

<p>thanks  </p>
