<!DOCTYPE html> <html> <body onload="init()" spellcheck="true"> <textarea>blahblahblah</textarea> <script> function init() { document.body.setAttribute("spellcheck", "false"); } </script> </body> </html>