1

I use this but autocomplete is not working, any one can help me

<input type="email" id="email" name="email" autocomplete="off">

1 Answers1

0

Try this

<input type="text" id="email" name="email" autocomplete="off" onclick="()=>{
document.getElementById('email').type='email'
}">
Muhammad Raheel
  • 383
  • 2
  • 11
  • 1
    You probably have to use single quotes in the onclick attribute in order to get this to work. – Daweed Mar 01 '21 at 09:35