calling a java script

A

Andrew S.

I want to remove a Java script that I have on a web page and call it from a
remote location what type of tag and what should I name the script so it
will work.

Thanks in advance
Andrew s.
 
L

Leif K-Brooks

Andrew said:
I want to remove a Java script that I have on a web page and call it from a
remote location what type of tag and what should I name the script so it
will work.

Use <script type="text/javascript" src="yourscript"></script>. The name
doesn't matter as long as your server sends the correct MIME type.
 
L

Leif K-Brooks

Bob said:
Which in most cases means that the extension does matter.

No it doesn't. Apache can be configured to send a MIME type for a file
without an extension, or with an extension like
..reallyweirdextensionthatisntnormal.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top