Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-16-2005, 07:39 AM   PM User | #1
joonstar
Regular Coder

 
Join Date: Apr 2003
Location: Seoul, Korea
Posts: 329
Thanks: 0
Thanked 0 Times in 0 Posts
joonstar is an unknown quantity at this point
opening "js" use script

Code:
(1) <script type="text/javascript" src="javascript.js"></script>

(2) <script language=JavaScript src="javascript.js"></script>

(3) <script src="javascript.js"></script>
Is (1) the best way?
__________________
Get my greedy up
joonstar is offline   Reply With Quote
Old 04-16-2005, 08:42 AM   PM User | #2
brandonH
Regular Coder

 
Join Date: Oct 2003
Location: on a ship
Posts: 574
Thanks: 1
Thanked 6 Times in 5 Posts
brandonH is on a distinguished road
Yes

yes 1 is the best way.
2 is the old way and some browsers may not recognize it.
3 does not specify what kind of script you are using even though you refrence the src to a javascript file.
__________________
I make no attempt at pretending like I'm a professional. I offer help with what knowledge I do have.
brandonH is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:45 PM.


Advertisement
Log in to turn off these ads.