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