")); } ).autocomplete("server.php", {
> extraParams: {
> fieldname: function() { return $(this).attr("name"); }
> }
> });
>
> I hope this helps
>
> Cheers
>
> On Oct 16, 1:59 pm, The
Hi,
I wish to pass an extra parameter to the Autocomplete query URL that
will determine the name of the current input field. The URL will then
know what field is requesting the data and can return the relevant
data.
E.g. It could be list of countries or a group of surnames already in
the database
2 matches
Mail list logo