Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/89.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 错误:属性类型为button的元素输入必须具有非空属性值_Html_Joomla_Virtuemart_W3c Validation - Fatal编程技术网

Html 错误:属性类型为button的元素输入必须具有非空属性值

Html 错误:属性类型为button的元素输入必须具有非空属性值,html,joomla,virtuemart,w3c-validation,Html,Joomla,Virtuemart,W3c Validation,我将joomla 2.5.8与virtuemart 2.0.6一起使用。w3验证后,我得到以下错误: 属性类型为button的元素输入必须具有 非空属性值。元素输入 值为button的属性类型必须具有非空属性 价值观 必须为按钮提供值属性 <input type="button" id="myButton" value="Click Here" /> 如果您不想在其中显示任何内容,请使用value=“ ;”您可以尝试使用标记 <button type="butto

我将joomla 2.5.8与virtuemart 2.0.6一起使用。w3验证后,我得到以下错误:

属性类型为button的元素输入必须具有 非空属性值
。元素输入 值为button的属性类型必须具有非空属性 价值观


必须为按钮提供值属性

<input type="button" id="myButton" value="Click Here" />


如果您不想在其中显示任何内容,请使用
value=“ ;”
您可以尝试使用
标记

<button type="button" id="myButton">Click</button>

读所有的单词并试着理解它们。信息是明确的。现在,w3c之后的IMHO验证在大多数情况下都是浪费时间。您应该在问题中提供相关的HTML。值是使用Thank You Salam填充的。我在-If块中添加了ascii值,它成功了。谢谢你,Marico。。这是另一个伟大的储蓄。是的,它起作用了。
<button type="submit" id="myButton">Click</button>