AnsweredAssumed Answered

Function in a popup

Question asked by CGSJohnson on May 4, 2016
Latest reply on May 4, 2016 by CGSJohnson

Good morning.  Is there a way to include a function in a popup that re-directs a user to another page?  I have code to create the content of the popup, from a function, but I need to include another function within that an anchor tag, like this...<a href="#" onclick="redirect();return false;">Click here</a>.  I keep getting redirect is undefined.  if I do not include the function in quotes, then the function is evaluated when the content of the popup window is created...not on click.  Any ideas?  Thanks...Chris