Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
$("#customer").autocomplete({
                minLength: 0,
                source: customers,
                focus: function (event, ui) {
                    $("#customer").val(ui.item.label);
                    return false;
                },
                select: function (event, ui) {
                    $(this).val(ui.item.label).change();
                    $("#customerid").val(ui.item.value);
                    return false;
                }
            });
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers