Autocomplete

Autocomplete


I'm trying to add autocomplete to all inputs with a certain class
(.autocomplete). Everything works ok from posting the data to
receiving the response (seen in firebug) but no suggest is being built
near my input even when I try with dummy data as per jquery docs...any
suggestions?
function load_autocomplete ()
{
    jQuery('.autocomplete').each(function(){
        var url = el.title;
        $(this).typeWatch({callback:function(){
            $.post(url,
                function(txt) {
                    var d = "asd asdasd asd asd adas".split(" ");
                    $(this).autocomplete({data:d});
                }
            );
        }});
    });
}
P.S> typeWatch is used to avoid posting at every keypress