>Thanks.  Can I get that customer number from the hidden field,
>though?  I'll try $('#CustNo').val() but if that doesn't work, I'd be
>at a loss . . .
>

You can set the extra parameters to be sent programmatically using after the
initialization by using:

var ac = $("#txtItem");
ac[0].autocompleter.setExtraParams({
        'CustNo': $('#CustNo').val()
});

(Although technically if your hidden field has the correct value when you
initialize the Autocomplete box, you should still be able to set the value
programmatically.)

If you're going to change parameters though, you should probably also flush
the cache so you don't have dirty results:

ac[0].autocompleter.flushCache();

-Dan

Reply via email to