Loading a html part with a script with .load() does not work
Hello,
I am trying to use jquery.load to load a file with an embedded codepen, that is made resizable by a script called resizable.js.
the resizing on a ingle page works fine (>resizable.html). As soon as I load that part of the page including the script, it doesn't work anymore.
In the attached files you can find the resizable.html file showing the possibility to resize the codepen by clicking in the right bottom corner.
Bit if I load the part of the page with the script in the file Load_resizable,html it doesn't work anymore.
I probably have to delegate the event, to make the script working. But I have no Idea how.
Any suggestions? Thanks in advance.
Philipp