By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,686 Members | 1,840 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,686 IT Pros & Developers. It's quick & easy.

Quick question - linked scripts.

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
"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

P: n/a

Yes
-
Rob

Jul 23 '05 #5

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.