AnsweredAssumed Answered

Call function in href from infoWindow

Question asked by dugtoni on Jan 28, 2015
Latest reply on Jan 29, 2015 by evtguy

I want to put either an href link or a button in a infoWindow in one of my javascript mobile apps.  The info window tells the cell value of a feature layer that is clicked on.  Then I have added an infoWindow that calls a functions which should run a geoprocessing task.  The problem is the link cannot seem to find the function no matter where I put it in my code.  I am getting an error "Uncaught ReferenceError: MyFunction is not defined.  Is it not possible to call a javascript function from an infoWindow?