Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html lang="en"> <head> <title>Title of the Document</title> <script src="https://code.jquery.com/jquery-3.5.0.min.js"></script> </head> <body> <form action="/form/submit" method="post"> <div class="form-group"> <input type="text" id="name" name="username" placeholder="Enter Name"> <input type="email" id="email" name="email" placeholder="Enter Email"> <button type="submit">Submit</button> </div> </form> <script> $(document).ready(function() { $('input').attr('autocomplete', 'off'); }); </script> </body> </html>