Robert, I wrote some code that does gives me the desired output (county and City fields) However I cannot get the results to show up in a results tab. I am using the showresults function but it doesn't seem to work. Could you please take a look and see what I am doing wrong? I have attached the zip file for your reference. Would really appreciate your help on this....
showresults: function (results) {
var resultItems = [];
var resultCount = features.length;
for (var i = 0; i < resultCount; i++) {
var featureAttributes = features.attributes;
for (var attr in featureAttributes) {
"<b>" + attr + ":</b> " + featureAttributes[attr] + "<br>");
"<br>");
this.info.innerHTML = resultItems.join("");