Ok, so Combo functions like autocomplete right, you type, then see the items appear in the combo, then you click, one, and handle the change event right?
So how can I have my DS go and get a specific item, and have the combo update itself where it's change event is fired
Use-case is that I have a list of items I've previously found with the combo...just a UL\LI hanging out somewhere else on my page. So I want to click one of those and have it re-assigned to the combo (so then the combos change event is fired and my chain of events gets re-kicked off)
I can't seem to get it to work though...I can assign the .text or .value fine...but that doesn't affect the DS at all, and my change event is tied to this:
Steve
So how can I have my DS go and get a specific item, and have the combo update itself where it's change event is fired
Use-case is that I have a list of items I've previously found with the combo...just a UL\LI hanging out somewhere else on my page. So I want to click one of those and have it re-assigned to the combo (so then the combos change event is fired and my chain of events gets re-kicked off)
I can't seem to get it to work though...I can assign the .text or .value fine...but that doesn't affect the DS at all, and my change event is tied to this:
change:
function
(e) {
if
(
this
._current) {
var
item =
this
.dataSource.view()[
this
._current.index()];
Steve