Click here to Skip to main content
13,863,292 members
Rate this:
 
Please Sign up or sign in to vote.
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!
<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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190214.1 | Last Updated 11 Feb 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100