Execute JS script when calling another file using AJAX call
Hello,
I'm encountering a small problem. I have an plain HTML file (it's for testing) where I have a link, when clicking on the link a $.load function is execuded to load another HTML file, this is working. BUT in that other HTML file I have another Javascript (add this share button),but one is working because it's not being parsed through DOM.
Tried to put the javascript in the first file, but this doesn't work either. My best guess is to bind the javascript, no?
Anyone can help me out in this situation?
Thanks!