jQuery and Zepto plugin to emulate the behavior of JVFloatLabeledTextField, an iOS UITextField subclass with placeholders that change into floating labels when the field is populated with text. JVFloat.js → JVFloatLabeledTextField →
Tag Archives: forms
Combining Different Input Types With Datalists
By using <datalist>, you can define a list of suggestions you want the user to select from. Users can optionally select from your suggestions as well as typing it by themselves. Turns out you can also combine it with the range, color, date, etc. input types Datalist experiment →
jQuery.suggest
jQuery.suggest is a simple inline autosuggest jQuery plugin. It takes an array of terms as haystack and suggests the user the first item that matches what has been typed to this point. The suggestion is updated with every keystroke. Tab or Enter will accept the suggestion and update the input field accordingly. jQuery.suggest →