Hi guys,
I'm creating a custom pop-up, and the content is pure HTML. On that HTML content, I'm trying to put onClick but it is not rendering.
} else {
if (filteredProductList[i].productType == 'Permit') {
popUpContent += "<a class='slds-button slds-button_brand' href='#' onClick='return false;'>Sold Out</a>";
} else {
popUpContent += "<a class='slds-button slds-button_brand' href='#' onClick='notifyMe('TEST')'>Notify Me</a>";
popUpContent += "<input type='button' class='slds-button slds-button_brand' onClick='notifyMe('TEST')'>Notify Me</input>";
}
}
}
view.popup.open({
title: popUpTitle,
location: m_event.mapPoint,
content: popUpContent
});
But when I check the created pop up I'm not able to see this onClick rendered.

Is it forbidden by Esri to create an element with onClick?