JavaScript JavaScript Loops, Arrays and Objects Tracking Multiple Items with Arrays Useful Array Methods

Kelly Musgrove
Kelly Musgrove
14,927 Points

document.write not working in Chrome for mac (running El Capitan).

I just wanted to give a heads up - document.write is currently not working in chrome. I'm running Chrome Version 52.0.2743.82 (64-bit), on El Capitan version 10.11.6.

I tested the same code in Firefox and it works fine. Another way to test this is to use the alert() method in place of document.write().

Hope this helps anybody having this issue after me :-)

1 Answer

Kelly, thanks for sharing your finding. This is not an issue for me with Chrome Version 52.0.2743.82 (64-bit) on El Capitan ver 10.11.6. I tested it by typing document.write(10) into the console.