The 'searchbox' component has built-in searching functionality. The 'searcher' function will be called when the user enters something and press ENTER key.
<input class="easyui-searchbox" style="width:300px" data-options="
prompt:'Please Input Value',
searcher:function(value){
alert('You input: '+value);
}
">