<!DOCTYPE html> <html> <body onload="init()"> <input class="spell-checked" type="text" value="blahblahblah"> <script> function init() { document.body.spellcheck = true; } </script> </body> </html>