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
  • 617
  • 1
  • 6
  • 15
  • 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