I have contenteditable div with text on it. In firefox, there is some kind of grammar correction which underlines the text with red marking. How can I turn it off?
Try --
Since the above is a Firefox-only attribute, if you're concerned about validation, you can also use jQuery to set the attribute, e.g.
$('.textarea_you_want_to_target').attr('spellcheck', false);
Update
It seems in Firefox you have to set spellcheck="false"
on . See http://jsfiddle.net/26JkW/5/