<div id="divselect" class="divselect" style="margin:0 auto;"> <cite>select</cite>
<ul>
<li><a href="javascript:;" selectid="1">select1</a></li>
<li><a href="javascript:;" selectid="2">select2</a></li>
<li><a href="javascript:;" selectid="3">select3</a></li>
<li><a href="javascript:;" selectid="4">select4</a></li>
<li><a href="javascript:;" selectid="5">select5</a></li>
</ul>
</div>
<input name="" type="hidden" value="" id="inputselect" />
/*
封装为 jquery 插件
使用方法
*/
$(function(){
$.ComboBox("#divselect","#inputselect",function(v){alert(v)});
});