fresh JS file. Still uses var items=[], but to match selected el, I will next try var data='{}' and var json = JSON.parse(data);. I will need to rework JSON file from array to object.Also, how do I pass value of selected g# to the getResource function? See comments in code.