如何使用js禁用此文本区域的自动完成功能?

如何使用javascript禁用此textarea的自动完成功能?

<textarea placeholder = "Send your concern..." id = "concern" class = "mako autoOff"></textarea>

.mako{
resize: vertical;
}
评论
  • kaut
    kaut 回复

    You can use autocomplete="off"; you don't have to use css for this.

     <textarea placeholder = "Send your concern..." id = "concern" autocomplete="off"></textarea>