开发者

XHTML - disable automatic browser spellcheck on textareas

开发者 https://www.devze.com 2023-01-25 16:59 出处:网络
I have a textarea with random base64 code in it. The text inside it has a annoying thin red line underlining it in Opera.

I have a textarea with random base64 code in it. The text inside it has a annoying thin red line underlining it in Opera.

Is there a opera html attribute that can disable the spell checker on that field?

开发者_Go百科

spellcheck="false" seems to work in Chrome, but not in Opera


Have you tried making the textarea readonly by adding

readonly="readonly"

? Or does the BASE64 code need to be editable?

0

精彩评论

暂无评论...
验证码 换一张
取 消