How can I make the elements loaded in the layout to be viewed by jQuery?
For example: on a parent page I have a script loaded along with the page. On this parent page, I have a DIV
with ID="filho"
. When a button on the parent page is clicked, I load the result into this "child" DIV. However, if I want to access some element that has just been loaded through jQuery that is already loaded on the page, it does not work. It is as if it did not exist. How do I resolve this?