Hi,
I want to retrieve 3 (ID, Name, Mobile) dataFields from the database. When user selects one item, another textbox should display Mobile Number.
datafields: [
{ name: 'ID' },
{ name: 'Name' },
{ name: 'mobile' }
],
$(".select_client").jqxComboBox({ selectedIndex: 0, source: dataAdapter, displayMember: "Name", valueMember: "ID", width: 240, height: 25});
// trigger the select event.
$('.select_client').on('select', function (event)
{
var args = event.args;
if (args) {
var index = args.index;
var item = args.item;
var label = item.label;
var value = item.value;
console.log(item.mobile);
}
});
Hope you understand