Input text without previously entered value [duplicate]

别说谁变了你拦得住时间么 提交于 2019-12-11 17:27:07

问题


Possible Duplicate:
How do you disable browser Autocomplete on web form field / input tag?

I entered a value in input text for example: email@email.com, after when I entering another value same area, seems the previously entered data (email@email.com).But I don't want to appear it. How can I do this?


回答1:


You could use "placeholder"

<input type="text" placeholder="email@email.com">


来源:https://stackoverflow.com/questions/13607378/input-text-without-previously-entered-value

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!