Quick question - linked scripts.

D

Danny@Kendal

Is the following...

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

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

Richard Cornford

Danny@Kendal said:
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
 
D

Danny@Kendal

Richard Cornford said:
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
 
M

Michael Winter


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
 

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

Forum statistics

Threads
474,161
Messages
2,570,892
Members
47,426
Latest member
MrMet

Latest Threads

Top