DEV Community

AjayMalhotra
AjayMalhotra

Posted on

3

jQuery click event on dynamic elements.

Hey to all, Today I will discuss, jQuery click event on dynamic elements

 $(document).on("click", ".classname", function(){

 // action

 });
Enter fullscreen mode Exit fullscreen mode

Thank you,
Therichpost.com

Top comments (0)

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay