1. Technology

Free JavaScript Download

Find and Download JavaScript, Even If You're Not a Master Programmer


Woman Using Laptop in Kitchen
Cavan Images/The Image Bank/Getty Images

Unlike other languages that can be used in a web browser, JavaScript doesn't need to be downloaded and installed. Browsers that support JavaScript have it built into the browser, where it is turned on by default (meaning that typically, you'll need to change your browser settings only if you don't want the browser to run JavaScript). The only exception is that Internet Explorer also supports vbScript the same way, and the two languages are controlled via settings called "active scripting" rather than a setting that reference JavaScript specifically.

What you will need to download with JavaScript, then, is not the scripting language itself, but rather those scripts that you want to run in your web page (assuming that you have decided not to learn JavaScript so you can write it all yourself).

There is no need to pay for scripts written in JavaScript, because just about any script imaginable is available somewhere as a free JavaScript download. What you need to be careful of, though, is to obtain them from a site that is actually offering the scripts as a free download, rather than just copying the scripts from any site. JavaScript code that performs any significant task will be subject to copyright, so you will permission from the author to use his or her script.

The task the JavaScript is doing is not able to be copyrighted, however, so if you are writing a script yourself, you can't get into trouble for looking at an existing script to see how the programmer did it and then writing your own version. But if you are just looking for free JavaScript downloads, then you should go to a site where the author specifically states that his or her script is available as a free download and can be used on your site. There are many sites that offer free JavaScript downloads, including several huge sites that only offer JavaScript downloads, as well as other sites (such as this one) that offer free JavaScript downloads and also have tutorials on how to write the scripts for yourself.

Apart from avoiding copyright issues, there are other advantages to getting your free JavaScript downloads from a site that is actively offering the scripts. The main one is that such sites usually provide step-by-step instructions on how to actually install and use the script. Where you just grab a script from anywhere, not only are you stealing a script, but also you won't get instructions on how to install it or support if you can't get it to work.

Another thing to watch for when you are getting your free JavaScript downloads from an appropriate site is that many of these sites have been in existence for many years, and the way that JavaScript should be used has changed over time. In many cases you'll find scripts that were written many years ago to work on the most popular browsers available at that time -- browsers that are now long gone. Ideally, you should have at least some familiarity with what is currently considered the best way of writing JavaScript, so that you can choose the version that will work best with current browsers.

You can't really blame the sites offering scripts that are not up to date. It does take time to code and test JavaScripts to make sure that they work correctly with the wide range of browsers in common use today. Having a somewhat dated script that still works available as a free download is certainly better than not having the script available at all. The biggest sites specializing in free JavaScript downloads usually offer scripts written by a lot of different people, and they rely on someone actually writing a new version of a script before they can offer it for download. Other sites that have their own staff to write and test scripts may have limited resources for being able to create updated versions of scripts, and so they may be offering older scripts until they can make updates.

Related Video
How to Get Started Using Aptana Studio Web Editor
  1. About.com
  2. Technology
  3. JavaScript
  4. Javascript Tutorials
  5. Free JavaScript Download

©2014 About.com. All rights reserved.