Stephen M. Yantz
Stephen M. Yantz

Reputation: 31

changing dynamic content using JQuery .on or .delegate where the selector is not the dynamic content

Everywhere I look for examples for delegated clicking, everyone assumes the button is dynamic.

Scenario: I have a list of div elements that get created dynamically. I have a button. outside of the list.

The button works on the list, until it refreshes dynamically. Can someone provide a working example, of refreshing dynamic content, where the click button is outside of the dynamic content?

Upvotes: 0

Views: 36

Answers (0)

Related Questions