DWR实现模拟Google搜索效果
<div style="position:absolute;left:190px;top:25px;"> <input AUTOCOMPLETE="off" onkeydown="oldKeyValue=this.value.trim();setSelectedKey();" onkeyup="getConformKey();" onfocus="if(this.value=='找人') this.value='';setDropListVisible(true);" onblur="setDropListVisible(false);" style="width: 300; height: 23;z-index: 10;top:0;left:0;" type="text" name="cond" value="找人" id="cond" /> <input type="button" class="btn" value="搜一下" onclick="findBylike();" /></div>