+ 1

value in submit type

what is the benefit of putting value= "submit" in input type " submit" i tried to remove it and there was no different

4th May 2017, 1:22 PM
Aml Ayad
Aml Ayad - avatar
1 Antwort
+ 10
value="submit" is the text appear in your button.. like <input type="submit" value="Save" > will appear Button with "Save" text on it.. if you only put <input type="submit">, it will only appear submit text which is the default value
4th May 2017, 1:30 PM
Bagus Prakoso
Bagus Prakoso - avatar