Autocomplete

Autocomplete

Whilst I've used Jquery extensively, I cannot get the extraParams to work for autocomplete. I am using jquery 1.4.2 with all the latest ui libraries for ui core, widget, position and of course autocomplete.js. 

I am loading data from the server and use the following to initialize the element.

 $("#emake").autocomplete({
                               url: "smartmake.php",
                               extraParams: {task:"make"}
                              });

Debugging, it takes me through to smartmake.php and whilst term is being passed, the extraParam is not. I have spent a few hours on this, taken breaks, come back, gone through the examples,  changed the format every way which, and I know I am overlooking something pretty obvious. 

Someone put me out of my misery please :).
TIA