Javascript 所需属性的规格值
我在Django/Dojo项目中工作。因为我突然无法修改HTML文件。当我尝试编辑它时,我的浏览器显示以下消息:Javascript 所需属性的规格值,javascript,django,dojo,Javascript,Django,Dojo,我在Django/Dojo项目中工作。因为我突然无法修改HTML文件。当我尝试编辑它时,我的浏览器显示以下消息: This page contains the following errors: error on line 11 at column 79: Specification mandate value for attribute required Below is a rendering of the page up to the first error. 导致问题的线路是: <
This page contains the following errors:
error on line 11 at column 79: Specification mandate value for attribute required
Below is a rendering of the page up to the first error.
导致问题的线路是:
<input data-dojo-type="dijit/form/ValidationTextBox">
我不明白这是什么原因
这是Dojo问题,还是Dreamweaver或Google Chrome的问题?对于那些感兴趣的人,我找到了一个解决方案。出于某种原因,一旦我将文件保存并上传到服务器(使用Dreamweaver),它就会发生变化:
<input data-dojo-type="dijit/form/ValidationTextBox" required="true">
进入
这就产生了一个问题。非常非常奇怪。。我想这是DW的错
<input data-dojo-type="dijit/form/ValidationTextBox" required>