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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -