In SPServices library, I make a search request using:
$().SPServices({
operation: "Query",
queryXml: queryText,
completefunc: searchComplete
});
function searchComplete(xdata, status) {
}
So this means it will call searchComplete
when the search completes. The parameters of searchComplete
is xdata
and status
which the SPServices library gives you. But I want to add some my own parameters to the searchComplete
function, how can I add them?
I don't want to create global variables or anything.
Thanks.