Using TextboxList events and callbacks

Posted by Wraith on Stack Overflow See other posts from Stack Overflow or by Wraith
Published on 2010-05-10T01:21:13Z Indexed on 2010/05/10 1:28 UTC
Read the original article Hit count: 559

Has anyone gotten callbacks working with Guillermo Rauch's TextboxList Autocomplete? I've tried multiple ways to bind and multiple events (e.g. hover) - nothing seems to register.

$('#entSearch').textboxlist({unique: true, plugins: {
            autocomplete: {
                minLength: 3,
                queryRemote: true, 
                placeholder: false, 
                remote: {
                    url: "{{=URL(r=request, f='call/json/suggest')}}", 
                    extraParams: {type: "", guid: ""}
                    }
                }
            }, 
            onHover: function(token) {
                alert('hover 1');
            }
        });

        $('#entSearch').hover(function() {
            alert('hover 2');
        });

        $('#entSearch').bind('hover', function() {
            alert('hover 3');
        });

© Stack Overflow or respective owner

Related posts about textboxlist

Related posts about jQuery