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!

Using JS file with APEX

586040Apr 26 2008 — edited Jan 18 2011
Hi,

I can't seem to be able to successfully link a JS file to an APEX template or page. I have followed the directions but but have had no luck. I have uploaded the JS file through "Shared Components>Static Files>Create" and have added "<script src=”#APP_IMAGES#custom.js” type=”text/javascript”></script>" to the HTML Header. I have also tried #WORKSPACE_IMAGES#, and #IMAGE_PREFIX# in place of #APP_IMAGES and still no luck. I have even tried a direct path " <script src="http://myserver.myport/my_images/custom.js"
type="text/javascript"></script> " but this did not even work. The only thing that does work is to put the JavaScript directly into the Header of the page.

Please suggest what else I could try.

Thanks

Linda
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 15 2011
Added on Apr 26 2008
6 comments
10,241 views