I have textbox currently i have attached DOJO event and for every key press it is triggering event but is there any event in DOJO that should trigger only after keyboard typing is completed.
<div class="cell">
<input type="search" name="searchbox" id="searchbox" placeholder="Search Location" data-dojo-attach-event = "keypress:_getData"/>
</div>
_getData:function(){
alert("function triggered");
}
Where this keypress is the event from dojo/keys.
Currently if i type "STACK" the event is triggering 5 times instead it should trigger one time after typing full word or it should trigger only after he stops typing.