json - jquery: howto return caller-id when using wildcard selectors -


I am using jquery to invite JSON-requests and make them a group of fully complete-fields has given. I use the wildcard-selector and now it is necessary to find out which AC-region fired the incident.

  ... $ ("[id * = '_linkcmb']"). Autocomplete ({source: function (request, response) {$ .ajax ({... ... select: function (event, UI) // // I want to get the name of the caller calling the request. ..  

Thank you for any quick or appropriate guidance in the intelligent solution.

ATB

// tom joad

I believe a UI code under a elem , and origElem , or something of the same name (maybe that is < Code> Goal , break inside the firebug and drill to ensure it); Then you can just call $ (ui.elem) .attr ('id') .


Comments