This Tutorial is for JAVASCRIPT, Please click on right arrow icon for next page and left arrow icon for previous page

Designed by Pankaj Pede

© Enosis Software Training Institute

Syllabus For JavaScript

  • Introduction
  • Syntax
  • Statement & Comment
  • Variable
  • Data types
  • Operator
  • String
  • Event
  • Function
  • Alert
  • Loop satatement
  • Example

1. Introduction

What JAVA is?

  • Java is a programming language developed in 1995 for Sun Microsystems. Its main purpose is to be able to run on all different types of operating systems. In other words, a program written in Java can run on a Microsoft computer and an Apple computer. All you need is to download the Java run-time to your computer and you can run any Java applications.
  • Java can be used on the Web, but I haven’t seen an example of a site using Java in a long time. If someone is telling you they’ll build your website using Java, they probably mean JavaScript.

What JAVASCRIPT is

  • JavaScript is built to run on the Web. How it executes and how well it performs is dependent on the type of browser you are using (Check out this website to help you determine: What is a browser?).
  • JavaScript was decried, denigrated and dismissed by many programmers for years, including myself. The relatively recent rise of “fancy” websites that update quickly without reloading a page (Ajax or asynchronous JavaScript execution) has brought JavaScript into prominence, and has even made an old hater like me at least acknowledge its importance.
  • If a salesperson is talking to you about using JavaScript to build something on your website, they are probably talking about implementing some sort of “fancy” interface feature to make the site more appealing to your visitors.

What is JQuery

  • jQuery is what made it palatable and fun to start using JavaScript again. It is the most popular JavaScript library in use today, and if you are building a site you should be using it. If you are having a site built, when the sales person talks about JavaScript, it is almost certain that the developer will be utilizing jQuery to make it happen.

2.Basic Syntax for JavaScript



					
Click Here to see on browser

3.Statement & Comment


// Single line comment
/* Multiple Line Comment */
					
Click Here to see on browser

4.Variable



					
Click Here to see on browser

5. Data Types



					
Click Here to see on browser

6.Operator



					
Click Here to see on browser

Increment Operator



					
Click Here to see on browser

7.String



					
Click Here to see on browser

8. Alert

  • Alert On Page Load
  • Alert On Button Click
  • Alert On Confirmation Box
  • Alert On Promot Box
  • Alert On Event

Alert On Page Load



					
Click Here to see on browser

Alert On Button Click





					
Click Here to see on browser

Alert On Confirmation Box





					
Click Here to see on browser

Alert On Line Break






					
Click Here to see on browser

Alert On Promot Box




Click Here to see on browser

9. Event

Alert On Event




Click Here to see on browser