Error: input of an element with an attribute type whose value is a button must have a non-empty attribute value

I am using joomla 2.5.8 with virtuemart 2.0.6. After checking w3, I get the following error:

The input of an element with an attribute type whose value is a button must have the value of a non-empty attribute <input type="button"class="quantity-controls quantity-minus" />. The entry of an element with an attribute type whose value is a button must have a non-empty attribute value.

+5
source share
2 answers

You can try using a tag <button>.

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

This is valid markup for HTML5. If you need this button, submit the form, you can change it to submit.

<button type="submit" id="myButton">Click</button>
+2
source

value .

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

- , value="&#160;"

+8

All Articles