Thanks, but before I go into my reply, I wanted to say that I'd posted hours earlier and it did not show up. I got the "your post was successful" message, but it's simply not here. Have you had this happen?
I will try your suggestion. I'm not sure exactly where to put it, but I'll experiment. Or it may just be better to insert it on the server side of things. One other thing: If the user does not actually select an item from the list and, instead, just tabs out of the field - perhaps because the item that was put into the textbox via the quick-fill was the one he wanted - then the code to populate other fields does not fire. How can I get that code to fire? (The code below does not fire) <pre> function findValue(li) { if( li == null ) return alert("No match!"); if( !!li.extra ) var sValue = li.extra[0]; else var sValue = li.selectValue; oItmDesc = document.getElementById("ItmDesc"); oItmDesc.innerHTML = li.extra[0]; oOnHandQty = document.getElementById("OnHandQty"); oOnHandQty.innerHTML = li.extra[1] oPrice = document.getElementById("Price"); oPrice.innerHTML = li.extra[2] } </pre> On Jul 8, 11:01 am, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > >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