Including javascript code

Tom Ekberg <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <CO3PR08MB79574084B49D67DF4480F9CACAEA9@CO3PR08MB7957.namprd08.prod.outlook.com>
I have JavaScript code that I put in html/page.html but it is getting a bit large. I put the following in the <head> section of html/page.html

<script type="text/javascript" src="foo.js"></script>

Foo.js does nothing but an alert. I put the foo.js file in the top level (same level as schema.py) and in html/. All I get is a HTTP 404 error.

What is the recommended place to put javascript files and what is the script src attribute to load it into page.html?

Tom Ekberg
Senior Computer Specialist
Department of Laboratory Medicine and Pathology
4th Floor, Pat Steel Building, currently WFH
Home: (253) 561-2509
Email: [email protected]<mailto:[email protected]>

_______________________________________________
Roundup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/roundup-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.