javascript function

Posted by user295189 on Stack Overflow See other posts from Stack Overflow or by user295189
Published on 2010-05-21T16:45:30Z Indexed on 2010/05/21 16:50 UTC
Read the original article Hit count: 316

Filed under:

can someone explain what this function is doing

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

thanks

© Stack Overflow or respective owner

Related posts about JavaScript