Hi all,
I'm a newbie so sorry in advance for the probably silly question:
I've tried to use the code explained in the topic
http://www.jeasyui.com/forum/index.php?topic=559.0 about the chained combobox (city/country) but I don't understand what is and how to use the parameter "idx" in:
onChange:function(value){
// get the country editor
var ed = $('#dg').datagrid('getEditor',{index:idx,field:'country'});
// reload its data
$(ed.target).combobox('reload','get_data.php?city='+value);
And how to pass in get_data.php the "value".
Thanks in advance.