javascript

Javascript-: java scripting is a scripting language.

Introduction of Java script-: Java script developed by Microsoft is a client side interpreted object oriented high level scripting language while java is a client side object oriented high level language. Java scripting is most popular scripting language on the internet and works in all major browser such as internet explorer Mozilla Firefox Netscape and opera.

 

Variable in java script-:A variable is a container for information we want to store. A variable’s value can change during the script. You can refer to a variable by name to see its value or to change its value.

Operator in java script-: Like any other language java script is supporting many type operator

  • Arithmetic operator
  • Assignment operator
  • Comparison operators
  • Logical operators
  • Condition operator

Pop box in java script-:In java script language providing many facility. In java script  we can create three type of popup boxes as like  Alert box,confirm box,prompt box these are like Alert box etc.

Function in java script-: Java script support many good function. A function is a reusable code block that will be execute by an event, or when the function is called. To keep the browser from executing a script when the page loads, we can put our script into a function. A function contains code that will be executed by an event or by a call to that function.

Looping in java script-: When we are using java script language there are many time we get a  situation when we need to come out of a loop without reaching its bottom. There may also be a situation when you want to skip a part of your code block and start the next iteration of the loop.

Catching error in java script-:  when browsing web pages on the internet, we all have seen a java script alert box telling us there is a  run time error and asking “Do you wish to debug ?”. error message like this may be useful for developers but not for users