Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Include a .js file From Notes

Posted on 2000-03-20
4
Medium Priority
?
290 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
  • 2
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
ghassan99 earned 30 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
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.

782 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