Hi,
I have form like this:
{ view: ‘form’, scroll: true,
elements: [
{ view: ‘text’, label: ‘Mnz’, labelPosition: ‘left’, labelAlign: ‘left’, type: ‘text’, id: ‘qty_text’},
{ view: ‘richselect’, label: ‘Label’, id: ‘control_richselect_2’, scroll: ‘true’}
], id: ‘ordr_form’
},’
What I need to do, is to load data into my richselect “control_richselect_2”. So in forum I found a topic “richselect suggestion” where Stanislav wrote:
"Both combo and richselect support data loading functionality by default, you can use
If you have richselect with id=“myselect”, you can use
$$(‘myselect_list’).load(“data.url”);"
So I was trying it:
$$(“control_richselect_2”).load(‘http://fek.jandb.sk/service.php?method=get_products’,'xml’);
But error occured:
Uncaught TypeError: Object # has no method ‘load’
I`m missing something??
I`m using this touchui.js → in attachment…
touchui.zip (55.4 KB)