js模拟下拉菜单
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
.box{
width:200px;height:30px;line-height: 30px;margin: 20px auto;}
.box span{
display: block;width: 195px;line-height: 30px;
border: solid 1px black;padding-left: 5px;}
.box ul{
width: 200px; margin: 0;padding: 0;list-style: none;
overflow: auto;border: solid 1px black;border-top:none;}
.box ul li{
padding-left: 5px;}
.active{
background: #35f;color: #fff;}
</style>
</head>
<body>
<div class="box">
<span>北京<<