#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    65
    Rep Power
    15
    Hi every one, i have a question with what is *.js use in javascript?
  2. #2
  3. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    Perth West Australia
    Posts
    757
    Rep Power
    15
    You can hold your javascripts in a seperate text file named whatever.js , by including a reference to that page by inserting <script language="javascript" src="whatever.js"></script>
    Its good if you use the same scripts over and over again on different pages as it keeps the total file size down and the client only needs to load it once.

    ------------------
    Simon Wheeler
    FirePages -DHTML/PHP/MySQL

Similar Threads

  1. Pointer problem in opening a file
    By LAKI in forum C Programming
    Replies: 13
    Last Post: February 11th, 2004, 08:27 AM
  2. PHP file upload script trouble
    By casbboy in forum PHP Development
    Replies: 9
    Last Post: February 5th, 2004, 07:42 PM
  3. Opening other programs
    By VBdumbie110 in forum Visual Basic Programming
    Replies: 4
    Last Post: November 14th, 2003, 12:25 AM
  4. Website Database Basics With PHP and MySQL
    By guest in forum Development Articles
    Replies: 302
    Last Post: November 12th, 2003, 07:22 PM
  5. basics of file download scripts?
    By Joruus in forum PHP Development
    Replies: 1
    Last Post: April 24th, 2002, 07:52 PM

IMN logo majestic logo threadwatch logo seochat tools logo