I have created a variable from a selected index in an array. Inside the selected index I get a string value. When I step through this I can see the value, but the variable is “undefined”. When passing that variable after the creation is completed it remains undefined.
“numResult” is the user defined selection from the array.
var faddress = geocodeResults[numResult].address.value;
showResults.infoTemplate.setContent("<b>Name: " + faddress + "</b>");
I had to remove .value, the call stack was undefined because of .val….. over analyzed again
Thanks everyone