<form onsubmit="doFind();"> <button data-dojo-type="dojox/mobile/Button" onClick="doFind();" class="findButton" value="Search" id="buttonSearch"/>Search</button></form>
Solved! Go to Solution.
require([ "dojo/on", ... ], function(on, ... ) { on(dom.byId("buttonSearch"), "keyup", function(event){ if (event.keyCode == 13) { doFind(); } }) ... });
require([ "dojo/on", ... ], function(on, ... ) { on(dom.byId("buttonSearch"), "keyup", function(event){ if (event.keyCode == 13) { doFind(); } }) ... });