Search and Top Navigation
#5106 closed bug (worksforme)
Opened January 28, 2010 04:38PM UTC
Closed January 28, 2010 06:50PM UTC
Last modified January 29, 2010 07:13AM UTC
Wrong params in callback
Reported by: | insekticid | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 1.8 |
Component: | ui.autocomplete | Version: | 1.8rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When I want to access item params in callback function - object in object is given
Now
$('#ac_ajax').autocomplete({'select':function (event, item) { $("#country_code").val(item.item.id); }});
Patched
$('#ac_ajax').autocomplete({'select':function (event, item) { $("#country_code").val(item.id); }});
Attachments (1)
Change History (2)
Changed January 28, 2010 06:50PM UTC by comment:1
resolution: | → worksforme |
---|---|
status: | new → closed |
Changed January 29, 2010 07:13AM UTC by comment:2
Could you pls send me link to the documentation? Because here http://jqueryui.com/demos/autocomplete/ is nothing about it
This is functioning as intended and as documented.