Is there anyone here has an solution for using js dom or jquery on web workers i have a jquery function that was needed to call inside the web worker but the problem is that the web worker doesnt recognize the jquery dom . thank you in advanced :)

Recommended Answers

From what I've read this is because the worker is running in a separate thread. The whole purpose of these workers is that they run separate, without DOM interaction.

Jump to Post

All 2 Replies

From what I've read this is because the worker is running in a separate thread. The whole purpose of these workers is that they run separate, without DOM interaction.

thanks for the response

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.