[jQuery] Jorn's Autocomplete, how to reference textbox in result event
In this snippit of code, where i pass the jQuery object that is the
textbox into:
function WireUpAutocomplete($txt) {
$txt.autocomplete(
"/services/Autocomplete.ashx"
).result(function(e, d, f) {
// >> How do i know what textbox the user is on here? <<
});
}
I could wire many textboxes up through that and would like to know
which textbox i am in
I see that "a" is an "[object Object]", but i have no idea what it's
comprised of