joined:May 23, 2003
Am I crazy for trying this? I'm trying to create an onClick handler for an anchor, while looping through a JSON array which provides the data that the function requires.
newcontent += "<a href='#' onClick='CreateShareDialog('" + CategoryDisplayName + "', '" + CategoryShare_Picture + "';')>hey</a>";
Is there a better way to do this?