开发者

When does a DOJO Event gets fired for DOJO Text Inputs

开发者 https://www.devze.com 2023-03-16 00:52 出处:网络
When does a DOJO Event gets fired ?? For example if i havea DOJO Text Box when does it gets fired whether its on onBlur or onkeyup ??

When does a DOJO Event gets fired ??

For example if i have a DOJO Text Box when does it gets fired whether its on onBlur or onkeyup ??

<div name="Phone" id="wokPhone" invalidMessage="Please enter phone number"
    dojoType="dijit.form.ValidationTextBox" regExp="^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$" label="  Phone Number :" maxLe开发者_开发技巧ngth="10"></div>


By default it fires on the blur/change event, but if you enable intermediateChanges, it will fire for every keyup.

<div name="Phone" id="wokPhone" invalidMessage="Please enter phone number"
    dojoType="dijit.form.ValidationTextBox" regExp="^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$"         
    label="  Phone Number :" maxLength="10" intermediateChanges="true">
</div>
0

精彩评论

暂无评论...
验证码 换一张
取 消