JavaScript Language , Programming Languages

JavaScript is "Object Oriented" like C++ or Java. (Note that Java and JavaScript are not the same language, which is a common misconception) It also has variables, which makes Javascript much more flexible than HTML. JavaScript originated from JScript, which was developed by Netscape. Now, Netscape and Microsoft have slightly different versions of JavaScipt which can make it quite difficult to get code to work on both browsers. There is large body of JavaScript code that is cross-browser compatible, which is what will be discussed in this course. If you need to use code that is not cross-browser compatible, then you need to detect which browser the surfer is using and provide at least two sets of code for the two different browsers.

Code that is on the Internet is automatically copy-protected. However, most developers don''t mind if you look at their code that is publicly available on the web.

Q: Why Javascript and not some other scripting language?

A: Javascript is already supported in major browsers and does not require a plug in. Also, JavaScript is the only language that can manipulate HTML.

Q: What is the difference between Java and Javascript?

A: They are very different languages that have been developed independently from one another. The reason why their names are similar is because they have one very important feature in common - they are platform independent. In other words, both Java and JavaScript have been designed to work on any operating system and any hardware. One major distinction: JavaScript is 100% interpreted, not compiled. That is, in fact, the definition of a scripting language. Java is both interpreted and compiled.
Posted Date: 6/10/2012 12:45:03 AM | Location : United States

Related Discussions:- JavaScript Language , Assignment Help, Ask Question on JavaScript Language , Get Answer, Expert's Help, JavaScript Language Discussions

Write discussion on JavaScript Language
Your posts are moderated
Related Questions
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

write a procedure to add toolbar in VB application adding icons to toolbar buttons & with the approprite example display the use of each button

Question 1 How will you add styles to a document? Question2 How will you view XML in different ways? Question 3 Explain various file handling mechanism available in PERL

You will create a simple network management configuration which checks that certain programs are running on your network and are performing as expected, and that certain system det

CSCI 3380 Project 1 For Mano’s Computer design, we have the following flowchart for fetch and decode phases: Please write the code to simulate the computer to

Calculate the total price to purchase all the components required to build a state-of-the-art gaming computer from components available on the internet. Before attempting this exer

how to create a screen for messages for a data transmission system

An apartment complex has several apartments to rent. The apartments are all similar, and all rent for $750 per month. Currently, all units are occupied. The management, being in bu

Given strings s 1 and s 2 of lengths m and n respectively, a minimum cover of s 1 by s 2 is a decomposition s1 = w 1 w 2 .... wk, where each w i is a non-empty substring of s

The method should call getAllCities() and return the index of the City that has the shortest (euclidian) distance to the. longitude and latitude passed as parameters