I have the following code for a customized widget:
widget html: <div data-dojo-attach-point="moreParcelInfo"></div>
In the Widget.js, I have this code to Query some more information about this parcel
queryLocationInfo: function (parcelID) {
.........
qryTask_SearchID.execute(qry_SearchID, this.showLocationQueryResults, this.qry_SearchIDError);
}
showLocationQueryResults: function (results) {
.......
this.moreParcelInfo.innerHTML = resultItems;
}
In this function, this.moreParcelInfo is undefined. Does it mean this.moreParcelInfo is out of scope of the widget? How to fix it? Thanks
Helen