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
What is an abstract class:   Abstract class is stated as an abstract concept that cannot be instantiated or comparing to interface this can have some implementation and interface c

Write a program to draw the truck following figure. The program should buttons to provide When the truck runs left wheels must rotate in the correct direction. Rotating whe

In this question we will de ne a function for sorting lists based upon the algorithm selection sort. First, de ne a function smallest which takes as input a list of integers and r

Write 3 somewhat simple scripts / programs in any language, combination of languages, and/or software. Please tell me the task you are trying to accomplish in the scripts. Idea

There actually isn't all that much to this section. All we are going to do now is work a quick illustration using Laplace transforms for a 3 rd order differential equation therefo

Extend the AirRaid game, so that the planes drop a bomb on the gun as they go over it. The gun has to move out of the way otherwise it will be destroyed if hit. Provide three lives

1 Problem Description The task of the assignment is to build a book recommendation system for Auer Libraries. The system is to be implemented in Prolog and as the owners of t

1. Write the dual of the above max-?ow problem. 2. Solve both problems with AMPL, and for each print the values of the vari- ables and the values of the dual variables (if a p

Question: (a) (i) Describe what an XML Data Island is and outline the restrictions of using a Data Island. (ii) The following XML file book.xml is used to keep track of a l