[jQuery] Why wont $(this) work

[jQuery] Why wont $(this) work


Hi,
I have a table with input fields, i'd like to autocomplete the
values...it all works until i added each, or this to the equation
(multiple rows with input fields)... I get the response and it
completes the .desc field, but it won't complete .unit and .qty. Any
ideas??
$(".min tr").each(function(){
            $(".desc",this).autocomplete("ajax.php", {
                minChars: 3,
                width: 300,
                selectFirst: false
            });
            $(".desc",this).result(function(event, data, formatted) {
                if (data){
                 $(".unit",this).val(data[1]).attr("selected","selected");
                 $(".qty",this).val(data[2]);
                }
            });
        });