Inline Disabling of Firefox Spellcheck?

后端 未结 4 1445
一个人的身影
一个人的身影 2021-01-01 09:45

I researched this a while ago and can\'t remember how to do it. I want to be able to prevent Firefox from running it\'s spell-checking functionality on certain input fields

4条回答
  •  隐瞒了意图╮
    2021-01-01 10:26

    add the attribute using JQuery $('.textarea_className').attr('spellcheck',false);

    This will allow you to return a valid XHTML mark up. =)

提交回复
热议问题