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

38 views Asked by At

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?

0

There are 0 answers