473,387 Members | 1,596 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Quick question - linked scripts.

Is the following...

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

....the correct way to link external scripts into web pages?
Jul 23 '05 #1
5 1022
Yup...

Oeyvind

--
http://home.online.no/~oeyvtoft/ToftWeb/

"Danny@Kendal" <da***@STOPSPAMghpkendal.co.uk> skrev i melding
news:cK********************@eclipse.net.uk...
Is the following...

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

...the correct way to link external scripts into web pages?

Jul 23 '05 #2
Danny@Kendal wrote:
Is the following...

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

...the correct way to link external scripts into web pages?


If the relative URL points to a resource returning valid javascript
source code, then yes it is.

Richard
Jul 23 '05 #3
"Richard Cornford" <Ri*****@litotes.demon.co.uk> wrote in message
news:ch*******************@news.demon.co.uk...
Danny@Kendal wrote:
Is the following...

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

...the correct way to link external scripts into web pages?


If the relative URL points to a resource returning valid javascript
source code, then yes it is.


Thanks, both of you.
It was a silly question really but the answers to the simplest questions are
the hardest to find.

Now to get back to working out Regular Expressions. =8-O
Jul 23 '05 #4

Yes
-
Rob

Jul 23 '05 #5
On Fri, 10 Sep 2004 01:41:21 -0500, RobG
<Ro*********@mail.forum4designers.com> wrote:
Yes.


Yes to what? I've just reinstalled my OS so I don't have the start of this
thread. Could you please state who you're responding to, and quote what
you're responding to.

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

36
by: Martin Larsen | last post by:
Hi, When a PHP program links to a library using include or require (or their _once variations), is the library then linked dynamically or statically? While it might seem irrelevant from a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.