<!DOCTYPE html> <html> <body> <textarea id="testBox">blahblahblah</textarea> <script type="text/javascript"> //Adding focus to the textbox should trigger a spellcheck document.getElementById("testBox").focus(); document.getElementById("testBox").blur(); </script> </body> </html>