If I print the contents of 'ui', I get my JSON object correctly. I however do not know how do I populate my list with the data which contains name, logo (url) and domain name. I'd want to show only logo and name in my drop-down list.

Replies(1)

The response should be in the format of an array of objects, each with label and value attributes. If you can't provide that directly on the server, then your getJSON callback must convert from its JSON into that format. You can override _renderItem to supply the logo within the selectable list.