也是一个项目中的控件,需要做一个仿百度搜索框的联想词列表,并且通过上下键可以选值
同样免费下载的地址:http://download.csdn.net/detail/guyuehu452/4334364
欢迎互加!
贴代码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>仿百度联想词列表</title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/assoc.js"></script>
<script>
$('.needCheck').assoc();
</script>
<style>
*{ margin:0; padding:0; list-style:none; font-size:12px;}
.dropL{ bo