制作搜索框时不显示下拉框
看一下代码有什么问题,jquery用的是自己下的,css样式写到了另外的文档中
<!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>
<!--在IE浏览器的最新版本下进行渲染-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--<script type="text/javaacript" src="js/jquery-3.1.1.min.js"></script>-->
<title>bing search</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link type="text/css" rel="stylesheet" href="style/reset.css" />
<link type="text/css" rel="stylesheet" href="style/main.css" />
<script type="text/javaacript" src="js/jquery-3.1.1.min.js"></script>
</head>
<body>
<div class="background"></div>
<div class="searchbox">
<div class="logo"></div>
<form id="searchform">
<input type="text" class="searchinputtext" name="q" id="searchinput" autocomplete="off"/>
<input type="submit" class="searchinputbutton" value=""/>
</form>
</div>
<div class="suggest" id="searchsuggest" style="display:none">
<ul>
<li>搜索1</li>
<li>搜索2</li>
</ul>
</div>
<script type="text/javaacript">
$('#searchinput').bind('keyup',function(){
$('#searchsuggest').show()
});
</script>
</body>
</html>