I have multi开发者_如何学运维ple textboxes to enter credit card and security number for it. But I dont want browsers to remember which numbers the customer entered to them.
Note: The page is completely sending ajax request by using javascript for any operations.
Refers to : Is there a W3C valid way to disable autocomplete in a HTML form?
I believe you can use the HTML attribute autocomplete
with the value off
.
<input ... autocomplete="off" />
精彩评论