Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Thank you. I will try this. However, I am a bit confused with what you did inside CreateParticles()... What is $('<div/>') there for? BTW, I think you meant "</div>". Commented May 15, 2011 at 20:36
  • @klftw I did not mean </div> the code I posted is what I meant. If you send in an empty element to the jQuery constructor (like a self closing div tag) it creates a new DOM object for that element. Then you need to append it to the actual DOM via an .append() or .appendTo() or similar call. Commented May 15, 2011 at 21:26