Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In the code below, a dojo button is defined. Is it possible to dynamically fire its click event? Thanks if you can provide the hint!
HTML
<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>


What I have tried:

How to dynamically fire a dojo event?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900