介绍一个自动完成的js类库autocomplete
下载地址:http://createwebapp.com/
文档地址:http://createwebapp.com/autocomplete 文档非常详细。
需要注意的一点是
<script>
new Autocomplete("consumerName", function() {
return "consumers.php?q=" + this.value;
});
</script>
这段js要写在
之后。
截图如下:
文档地址:http://createwebapp.com/autocomplete 文档非常详细。
需要注意的一点是
<script>
new Autocomplete("consumerName", function() {
return "consumers.php?q=" + this.value;
});
</script>
这段js要写在
之后。
截图如下:

发表评论