JavaScript Language , Programming Languages

Assignment Help:
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.

Related Discussions:- JavaScript Language

What are relative urls, What are Relative URLS ? When a web browser re...

What are Relative URLS ? When a web browser reads an HTML document, it has a great deal of information about the document. This includes the protocol used to retrieve the docu

Java source code classes and objects, Design and implement a stringed music...

Design and implement a stringed musical instrument class using the following guidelines: a. Data fields for your instrument should include number of strings, an array of stri

Assembly, Write an assembly program that computes Fibonacci numbers 2-5. a....

Write an assembly program that computes Fibonacci numbers 2-5. a. Assume Fib(0)=0 and Fib(1)=1. b. Store Fib(2) in EAX, Fib(3) in EBX, Fib(4) in ECX and Fib(5) in EDX. c. Use a LOO

Assembly Language Programming, Complete the following program to move a val...

Complete the following program to move a value of 0xFFH to PORTB LIST p=18f4550 #include org 0x0000 movlw 0x00 _________ movlw 0xFF movwf PORTB end .

Display & list directory contents, Normal 0 false false fal...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Script shell to display lines of a file in reverse order, Normal 0 ...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Fortran function for find and print out all prime number, Write a Fortran L...

Write a Fortran LOGICAL FUNCTION, called "is_prime", which determines if a given integer value is a prime number or not (A prime number is a natural number which has only two disti

Programming, You must programme an analogue clock and digital stopwatch usi...

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

Program to built book recommendation system, 1 Problem Description The...

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

Write a script for explicitly display of values, Write a script called 'pro...

Write a script called 'prob1.m' that solves for the variables y, and z in terms of a user inputed x. The variables y and z are defined as follows: y = x - 30                when

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd