Horje
How to stop browser autocomplete in HTML text input?

See Example


Stop browser autocomplete in HTML text input?

Follow the Example
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>
<form action='/action_page.php' autocomplete='off'>
<input type='text' autocomplete='off' />
</form>
  <br>
  <input type='submit' value='Submit'>
</form>
</body>
</html>

Output should be:

Stop browser autocomplete in HTML text input?

There are more ways.

Follow the below.

HTML Stop browser autocomplete in HTML text input?

Example: HTML
<input type='text' autocomplete='off' />

HTML Form Stop browser autocomplete in HTML text input?

<form action='' autocomplete='off'>

Javascript - Stop browser autocomplete in HTML text input?

index.html
<script>
$('input').attr('autocomplete', 'off');
</script>
Reffered: https://stackoverflow.com/questions/2530/how-do-you-disable-browser-autocomplete-on-web-form-field-input-tags?rq=2





Related Articles
What is HTML Input Types HTML Input Types
How to create HTML Input Type Text HTML Input Types
How to create HTML Input Type Password HTML Input Types
How to create HTML Input Type Submit HTML Input Types
How to create HTML Input Type Reset HTML Input Types
How to create HTML Input Type Radio HTML Input Types
How to create HTML Input Type Checkbox HTML Input Types
How to create HTML Input Type Button HTML Input Types
How to set HTML Input Type Color HTML Input Types
How to create HTML Input Type Date HTML Input Types
How to create HTML Input Type Datetime-local HTML Input Types
How to create HTML Input Type Email HTML Input Types
How to create HTML Input Type Image HTML Input Types
How to create HTML Input Type File HTML Input Types
How to create HTML Input Type Hidden HTML Input Types
How to create HTML Input Type Month HTML Input Types
How to create HTML Input Type Number HTML Input Types
What are the HTML Input Restrictions HTML Input Types
How to create HTML Input Type Range HTML Input Types
How to create HTML Input Type Search HTML Input Types
How to create HTML Input Type Tel HTML Input Types
How to create HTML Input Type Time HTML Input Types
How to build HTML Input Type Url HTML Input Types
How to create HTML Input Type Week HTML Input Types
How to stop browser autocomplete in HTML text input? HTML Input Types

Single Articles
Stop browser autocomplete in HTML text input?HTML Input Types
HTML Stop browser autocomplete in HTML text input?HTML Input Types
HTML Form Stop browser autocomplete in HTML text input?HTML Input Types
Javascript - Stop browser autocomplete in HTML text input?HTML Input Types

Read Full:
HTML Input Types
Category:
Web Tutorial
Sub Category:
HTML Input Types
Uploaded:
10 months ago
Uploaded by:
Admin
Views:
28
Tested on:
html4



Share on: