Java Script

JavaScript, also known as ECMAScript (the untrademarked name used for the standard), is a dynamic programming language. It is most commonly used as part of web browsers, whose implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed. So, what do you need to learn JavaScript, the answer is simple:
  1. Basic knowledge of using a personal computer (like creating folders and files, copy, cut, paste, edit).
  2. A basic text editor. All personal computers comes with a text editor (like Notepad for Windows, TextEdit in Mac, gedit in Linux with GNOME etc). You can also use other more advanced text editor if you have like Adobe Dream Weaver, or if you prefer the free ones just search online. But a very basic one will do.
  3. A browser – All modern PC will come with a browser in build (internet explorer for Windows, Safari for Mac). You can also download a third party browser like Google Chrome or Mozilla Firefox. The browser is like a channel to browse the net, or to see your HTML pages comes to life.
  4. Knowledge of HTML – well you’ll need to know HTML and preferably CSS. But don’t worry if you didn’t know HTML or CSS, just browse our tutorial and learn.
JavaScript can be embed in the html document or can be called form a separate file. A basic script that will write "Hello World!" when a button is clicked:
<!DOCTYPE html>
  <script type="text/javascript">
   function hello(){
    document.getElementById('hello').innerHTML = "Hello World!";
  <h1>My First JavaScript</h1>
  <button type="button" onclick="hello();">Click Me.</button>
  <p id="hello"></p>
Save the above file as an HTML document and open in your browser to see the effect. So, go ahead and learn more JavaScript.



F Diengdoh.com: Java Script
Java Script
Java Script - a client side scripting language
F Diengdoh.com
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content