[jQuery] [autocomplete 1.1] extend callback
hi,
i use the extraParams function to retrieve information from the
current autocomplete control
/* tabellenname aus input.name ermitteln, z.b. edit0_kontakt_id-
kontakte */
extraParams: {
tbl: function(elem) {
var tbl = elem.id.split('-')[1];
return tbl;
}
}
therefore i had to modify the orginal sources in line 363
// sk
// + extraParams[key] = typeof param == "function" ? param(input) :
param;
// - extraParams[key] = typeof param == "function" ? param() :
param;
could this be done without patching the original source, or would it
be possible to add then "param(input)" to the autocomplete sources?
regards stefan