I want to load some html elements from another html document to another. There is no access-origin problem. The elements (<img>
) are appearing on the "hosting" html page, but they lose all JS capability - for example, they don't respond on click. Why is it happening and how can I solve it? I tried inserting the .load method at the start\end\inside .ready to no avail.
Thanks in advance.