AnsweredAssumed Answered

button click in tool tip dialog

Question asked by VeenaH on Apr 20, 2018
Latest reply on Apr 23, 2018 by rscheitlin

Below is the code using to display on mouse hover on layer.

My test is hyper tag "my_tag" click event is not firing  

 

dialog = new TooltipDialog({
id: "tooltipDialog1",
style: "position: absolute; width: 250px; font: normal normal normal 10pt Helvetica;z-index:100"
});
dialog.startup();

var t = "name:${POLIN_STATN_NAME}
" + "psname:" + PSName_KN + "
" + "psno:" + boothid + "
" + "Category:" + Cat + "
    '<a href="#" id="my_tag">My test</a>'

 

var content = esriLang.substitute(evt.graphic.attributes, t); highlightGraphic = new Graphic(evt.graphic.geometry, highlightSymbol);  domStyle.set(dialog.domNode, "opacity", 0.85); dijitPopup.open({ popup: dialog, x: evt.pageX, y: evt.pageY });

Outcomes