jquery autocomplete/type to select from list -
does jquery ui (or other) autocomplete plugin allow me know if text in textbox still item selected list?
i want users able type, autocomplete menu , choose item. if continue typing or delete characters etc, need know item has been deselected.
is possible without customisation?
is there better plugin or approach this?
thanks
there's facebook style input box, kind of thing after? http://ajaxian.com/archives/facebook-style-input-box
edit
the jquery ui autocomplete sets data object on input element can access through .data()
so:
$('input').data('autocomplete').selecteditem.value;
fiddle: http://jsfiddle.net/qk3ma/1/
Comments
Post a Comment