I have successfully called a function ("kr_highlight") that creates map graphics of xy locations onto the map when the anchor tag is clicked WHEN my widget has the anchor tags hard coded into the widget.html page.
But now I want, after the widget loads, the anchor tags generated dynamically through js when the user clicks an "expand" link inside the widget.html page which populates the div.innerhtml. During the dynamic generation I want to apply either an onclick function or an eventlistener to the id's of the dymaically generated anchor tags. When I change I try to do this dynamically I get: