Reputation: 42400
I'm trying to figure out if I can write javascript that is within an worker to interact with the DOM.
Upvotes: 0
Views: 485
Reputation: 17825
No they cannot. They can only return "messages" back to the main script, which can then interact with the DOM.
https://developer.mozilla.org/En/Using_web_workers
Upvotes: 2