php - Form without value atribute in the submit input -
i have form:
<form action="http://xxx" method="post"> <img src="" id="imagenoriginal"> <label>nombre</label> <input type="text" name="nombre" /> <label>apellido</label> <input type="text" name="apellido" /> <input id="a" type="submit" value" "name="btnregistro"> </form>
and if dont set value submit input form dont submit , if put value="send" or thing make submit ? why occurs that?
should be
<input id="a" type="submit" value="" name="btnregistro">
Comments
Post a Comment