JavaScript: application examples

If you don’t immediately plunge into the laconic syntax and functionality of JavaScript semantics, simple code examples will help you quickly learn how to increase the dynamics and efficiency of pages.

JS is a programming language "inside" the browser. JavaScript has solid experience working with page elements, original solutions in the field of object-oriented programming, "knows how" to communicate with the server, because numerous JavaScript code examples do not immediately become available for understanding and application.

JavaScript examples




General through quotient: simple beginning

, . JavaScript "", - , C/C++, Pascal.

JavaScript simple examples




JavaScript , - , .





onload body "Hello" "I`m ready".

I'm ready




JavaScript :

  • onload, , - GoPage();
  • , GoPage();
  • alert, "I'm ready";
  • .

, .

: JS . , document.getElementById div "scTimer". dTimer.innerHTML = " HTML ", div.

, JavaScript. . alert ('I'm ready'), . : , , , - .

: alert ("I'm ready"), alert ('I`m ready'), alert ('I\'m ready'), .

JS-

, , DOM JavaScript : , , .

JavaScript (), . . , , , , , .




All Articles