Does anyone have an example of how to call a function from inside a popup window? I've been digging around the forums and haven't had much luck in finding a sample of what I am trying implement. Right now, I have a Popup Template set up that shows basic attributes for the selected feature and also provides links to various resources regarding that selected feature. See the image attached.
Below the Recorded Documents link, I'd like to add an "Open Old Tax Map Image" link that calls a function instead of opening a link. I have tried a handful of things including using code from this sample but I can't get anything to do exactly what I have described. Does anyone have an idea as to how I can accomplish this?
Any help is appreciated!