Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Javascript function not found? - Difference Match JavaScript function in Apex.

Richie VDec 28 2016 — edited Dec 28 2016

I am trying to replicate the functionality from this link https://neil.fraser.name/software/diff_match_patch/svn/trunk/demos/demo_diff.html so I copy the javascript file from this link https://neil.fraser.name/software/diff_match_patch/svn/trunk/javascript/diff_match_patch.js and then go to shared components > static files and upload the .js file. then I add a line like this in the header of the document.

pastedImage_2.png

But when I run the page the js functions are not found

pastedImage_3.png

I used another simple .js file with an alert function using the same method and it worked. So question is why can't apex see the .js functions? Am I doing something incorrect? I want to get the difference function working.

Any help would be appreciated, thanks.

This post has been answered by fac586 on Dec 28 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 25 2017
Added on Dec 28 2016
4 comments
478 views