In the code below, a dojo button is defined.
<div id="divAttributeQueryButton"> <table style="width: 100%;"> <tr> <td style="text-align: center"> <button data-dojo-type="dijit/form/Button" data-dojo-props="iconClass:'fa fa-search fa-fw',showLabel:true,disabled:true" data-dojo-attach-point="btnSearch" data-dojo-attach-event="click:onSearch">${i18n.Buttons.search}</button> </td> </tr> </table></div>
Is it possible to dynamically fire its click event when clicking a point on the map (meanwhile popout the Identify box)? Thanks if you can provide the hint!
Solved! Go to Solution.
Shaning,
Use this.btnSearch.click();
Solved. Thanks to Robert!!