Recognize new elements added to DOM after AJAX request – Jquery ajax
I am trying to display a new div element added to the DOM via AJAX. So, via AJAX/PHP I added dynamically some new buttons <button type="button" id="viewPP_'.$index.'" onclick="viewPP('.index.')">View</button> And also added dynamically some new hidden divs <div id="viewPP_'.$index.'" style="display: none;">…