You are here: Re: javascript in a separate file? « HTML « IT news, forums, messages
Re: javascript in a separate file?

Posted by Beauregard T. Shagnasty on 10/30/06 02:29

Vince Morgan wrote:

> "John Salerno" <johnjsal@NOSPAMgmail.com> wrote:
>> Hi guys. I'm just curious, is it possible to put your javascript in a
>> separate file like you do with CSS? If so, is the syntax for
>> including it the same as CSS?
>
> <script src="../myscript.js"></script>

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

--
-bts
-Motorcycles defy gravity; cars just suck

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация