Solved

Include a .js file From Notes

Posted on 2000-03-20
4
280 Views
Last Modified: 2013-12-18
I have a .js file that contains common functions.  I want to include this file in multiple forms so I can use the functions with javascript.  Is this possible to do with notes and if so can you give me an example?

Thanks.
0
Comment
Question by:bsmith11
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
ghassan99 earned 10 total points
ID: 2637973
If you are using R4, create a field called '$$HTMLHead' on the form and make it hidden, with the value:
"<SCRIPT SRC = \"/library.js\"></SCRIPT>"
In R5 add the same value but to the 'HTML Head Content' property of the form.

-Gus
0
 

Author Comment

by:bsmith11
ID: 2640108
Can I specify a path with this library name also?
0
 
LVL 6

Expert Comment

by:ghassan99
ID: 2640168
yes the path could be relative or full

-Gus
0
 

Author Comment

by:bsmith11
ID: 2640178
Thanks for your help.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

634 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question