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
i have 4 variables in my linkage section of PIC 9(3) ..while submitting i m passing parameter value i.e. numeic to them but its taking space for 2 varaible and for two its taking c

A non-empty string β is called a repeat pre x of a string s if ββ is a pre x of s. Give a linear time algorithm to find the longest repeat prefix of s. Hint: Think of using lca

Tamagochi were all the rage in the 90's as a small toy that had limited functionality but modelled a pet. The "owner" could do the following • Feed the pet • Heal the pet

In this assignment, you will design a program to perform the following task: Calculate the total price to purchase all the components required to build a state-of-the-art gaming c

(a)  Create procedures for accessing the root, left subtree and right subtree, and also mutators for changing the root, left subtree and right subtree of an avl argument. (b) Wr

Need help with my assignment

You must programme an analogue clock and digital stopwatch using the Processing programming language

For this assignment you will read a file expression.txt and create an expression tree. The expression will be a valid infix expression with the all the necessary parentheses so tha

depth estimation from block matching algorithm motion estimation

1. You are working as a designer for a university that offers a program in Computer Science. One of the tracts is computer security. One of your colleagues has recommended adding a