Mailtip
A jquery email autocomplete plugin
Required
jQuery >= 1.7
Introduction
$(function (){ var info = $('.info'); $('#mailtip').mailtip({ onselected: function (mail){ info.text('you choosed email: ' + mail) } }); });
API
options
- mails
The email domain list
- width
The pupup tip's width, if set
input
the tip's width will equal input width else the width will equal set or auto
- onselected
The callback on selected a email
- offsetTop
The offset top relative default position
- offsetLeft
The offset left relative default position
- zIndex
z-index of popup tip