Hi guys,
I have created a filtering Select with five attributes, I wanna get all these attributes after clicking search NOT in "Onchange" method, all what I can get so far is the value of the option selected using .value attributes
Solved! Go to Solution.
Sara,
Do this:
var fs = dijit.byId('voiSelect');
var item = fs.get('item');
var store = fs.store;
var someValue = store.getValue(item, 'someProperty');
Sara,
Do this:
var fs = dijit.byId('voiSelect');
var item = fs.get('item');
var store = fs.store;
var someValue = store.getValue(item, 'someProperty');
Robert,
your code gave me the error 'store.getValue' is not a function and because of your code I found a shortcut so I will mark your response as correct, thank you sir.