Home >Web Front-end >HTML Tutorial >Will the value of '1sadf' not be cleared if the input type of html5 is number? _html/css_WEB-ITnose

Will the value of '1sadf' not be cleared if the input type of html5 is number? _html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-24 11:50:381008browse

Will the value of “1sadf” not be cleared if the input type of html5 is number?


Reply to discussion (solution)


It will not be cleared. There will be a prompt when you put it in the form and submit it

It is better to use js to control it, it is more friendly

Thank you for the space. It’s better to use js

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn