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

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.