Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is Javascript?

General

What is Javascript?

by  BabyJeffy  Posted    (Edited  )

What is Javascript? (Partially sourced from http://en.wikipedia.org/wiki/JavaScript)

JavaScript is an object-based scripting programming language based on the concept of prototypes. The language is best known for its use in websites, but is also used to enable scripting access to objects embedded in other applications.

It was originally developed by Brendan Eich of Netscape Communications Corporation under the name Mocha, then LiveScript, and finally renamed to JavaScript.

JavaScript has a C-like syntax.

Here is a short list of some things that Javascript is not:

- Javascript is not Java
- Javascript is not C
- Javascript is not HTML, XHTML or XML

Typically we use Javascript as a client-side scripting programming language to perform HTML form validation, navigation "roll-overs" and to enhance usability. All these tasks are performed on the web browser - after the page has been processed by a web server and delivered to the (remote) web browser.

It is possible to change ASP (Active Server Pages - part of Microsoft IIS) to use Javascript server-side (rather than VBScript), and in this context the Javascript is run server-side before the page is delivered to the (remote) web browser.

Regardless of the server-side technology you are using, the page is processed server-side first, and then it is passed to the client (where it can be affected by Javascript running client-side). This is a one-way action (the web server cannot continue to process server-side once the contents of the page have been delivered to the browser).

If you have a client-side Javascript problem - then it is appropriate to post to the Javascript Forum forum216. If you have a Java problem, then you should direct your queries to the Java Forum forum269. If you have a problem with running Javascript server-side in IIS, then you are advised to search the FAQs and posts at the MS ASP Forum forum333 before you then decide to post in the Javascript forum.

Please do not post the same post in multiple forums - your problem will not be solved any quicker (and you may find it gets deleted completely by the admin team).

Cheers,
Jeff
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top