邮箱自动下拉匹配列表jQuery插件mailAutoComplete实例页面

展示

回到相关文章 »

代码

CSS代码:
.emailist{border:1px solid #bdbdbd; border-radius: 4px; background-color:#fff; color:#666; font-size:14px; list-style-type:0; padding:0; margin:0; overflow:hidden;}
.emailist li{padding:2px 11px; cursor:pointer;}
.emailist .on, .emailist li:hover{background-color:#eee;}
            
HTML代码:
<input type="email" class="input inputMailList" name="email" placeholder="请输入邮箱" required autofocus autocomplete="off">
            
JS代码:
$(".inputMailList").mailAutoComplete();