File Extension

JS File Format

JavaScript source code

JSP file format icon

JS is a file extension for a JavaScript source code file format.

JavaScript is used in Web development to do such things as:

  • Automatically change a formatted date
  • Cause a linked-to page to pop up in a new window
  • Cause text or an image to change during a mouse rollover

A JS file is used mainly to run client side JavaScript code on a webpage. The JS file contains all the HTML HEAD and BODY objects in the tags of an HTML page.

MIME type: application/x-javascript, text/javascript

 

Learn more about JS files:

Visit the Java website.

See the JavaScript learning guide at Search Domino.

Use IT Knowledge Exchange to find answers to your JavaScript questions.

This was last updated in July 2010
Editorial Director Margaret Rouse

Ask a Question About JSPowered by ITKnowledgeExchange.com

Get answers from your peers on your most technical challenges

Tech TalkComment

What made you want to look up JS JavaScript source code? Please tell us where you read or heard it (including the quote, if possible).

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.