homepage Welcome to WebmasterWorld Guest from 54.196.195.158
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
How to include javascript into html file
Naty




msg:1476599
 9:33 am on Aug 7, 2005 (gmt 0)

Hi

I have three java scripts like this

-----------------------------------------------
<script type="text/javascript">
...........script.........
</script>

<script type="text/javascript">
...........script.........
</script>

<script type="text/javascript">
...........script.........
</script>
----------------------------------------------

I need to combine the three java scripts above to one file like abc.js and How can I include abc.js it into html file?

 

pureform




msg:1476600
 9:43 am on Aug 7, 2005 (gmt 0)

Hey Naty, it's actually a really simple procedure.

Just put this code in your header:

<script type="text/JavaScript" src="abc.js"></script>

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved