script to simplify

javascript United States
  • 18 years ago

    Please help me to simplify this script:



    <script language="JavaScript" src="file1.js"></script>
    <script language="JavaScript" src="file2.js"></script>
    <script language="JavaScript" src="file3.js"></script>



    into something like this:


    <script language="JavaScript" src="file1.js", src="file2.js", src="file3.js", ></script>


    thank you

  • 18 years ago

    ok i'm assuming you cant put all the scripts into just one .js file??


    the first way you show is (a) quite simple anyway and (b) the only way, sorry!

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Walking on water and developing software from a specification are easy if both are frozen.” - Edward V Berard