Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Java script in external file

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch
Impact
18
hi

can you guys tell me how cna i put java script in external file

can i put it in .js? if yes how?

regards
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Yes,

HTML:
<script src="filename.js" language="javascript"></script>
 
0
Close
ok great thanks..

and in js do i have to <script...></scirpt> tag also?
 
0
Close
no
 
0
Close
well I not necessary but I think you should It help the browser understand a little better. I m not sure but I think that's the reason otherwise why would programmers
be using it?
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back