我想只让日历指定我的文本框输入,而不允许在我的日历文本框中的dijit.form.DateTextBox中使用键盘打孔的数字.有没有办法做到这一点?
谢谢.
以下代码可用于DateTextBox只读:
<input data-dojo-type="dijit/form/DateTextBox"
data-dojo-id="effectiveDate"
type="text"
name="effectiveDate"
id="effectiveDate"
data-dojo-props="'readonly': 'readonly'"/>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
10023 次 |
| 最近记录: |