Some Javascript Basic Concept To Share(II)

Some simply case of JS

Using JavaScript to process HTML content is a very powerful function. You will often see document.getElementById(“id”) that it is defined in HTML DOM. DOM (Document Object Model) is a formal W3C standard for accessing HTML elements. The alert () function is not commonly used in JavaScript,welded steel pipes but it is very convenient for code testing. The onclick event is just one of the many things you will learn in this tutorial. There is the example below,

x=document.getElementById(“demo”); //searching element

x.innerHTML=“Hello JavaScript”; //changing content

 

Distinguish about JS and Java

JavaScript and Java are two completely different languages, both conceptually and designedly.square steel pipes Java (invented by Sun) is a more complex programming language.

 

ECMA-262 is the official name of the JavaScript standard.spiral steel pipes

 

JavaScript was invented by Brendan Eich. It appeared in Netscape in 1995 (the browser has stopped updating) and was adopted by ECMA (a standard association) in 1997.

Leave a Reply

Your email address will not be published. Required fields are marked *