CP9 - External java library ref not working in On Enter action.
CP 9.0.2.437
HTML5 Output only
Hello,
I want to use an external java library.
I have it working successfully by putting a reference to it in my index.html file.
<script src="../../java_library/my_java_library.js"></script>
However, I would rather be able to reference the library from within the project.
I found the code below in the forum and have placed it in the 'On Enter' action of the first slide.
Unfortunately it did not work, even by using either relative or absolute addressing.
$(‘body’).append(‘<script src=”http://myservername/myfolder/mylibrary.js” async=”false”></script>’);
If anyone can suggest where I am going wrong I would appreciate it.
Thank you
Peter

