0

Code of submit button

how to write a code which give me submit button on my page

9th Jan 2017, 4:47 PM
Shivam Mishra
Shivam Mishra - avatar
4 odpowiedzi
+ 7
<input type="submit" hint="Submit">
9th Jan 2017, 5:40 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 5
@visph it's something like "placeholder" for earlier versions of HTML……
9th Jan 2017, 8:49 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
<button type="submit">submit </button> [edit]: if you want this to work you have to put it inside a form
9th Jan 2017, 4:49 PM
Kamil
Kamil - avatar
+ 2
@ValentinHacker: From where comes this attribute 'hint'? Do you have ( serious ) references to it? I didnt find anything about ^^ @Shivam Mishra: You can customize the text value of the submit button, with the 'value' attribute of the <input> tag ( else it will be filled automatically -- but you cannot be sure it will display the same message everywhere... for example, the french translation of the text content is the word for 'validate' in Chrome-Android, where the translation of 'send' would probably have been more appropriate: in french, litteral translation of 'submit' is'nt a lot used in this acceptance ).
9th Jan 2017, 8:38 PM
visph
visph - avatar