Html is providing static web pages but with the developments in internet & World Wide Web the interactive communication became a necessity. The World Wide Web is a heap of pages having information in the …
Read More »JavaScript Tutorial
What is JavaScript?
HTML,JavaScript is integrated with browser & this integration enables the programmer to add dynamic interaction to the text, picture, information on the web page. JavaScript is case sensitive language i.e.; state is different from State …
Read More »JavaScript is Java or what?
No, JavaScript is not java. Java is a complex and much more powerful language like C & C++. While HTML, JavaScript are integrated with browser & this integration enables the programmer to add dynamic …
Read More »What we can do using JavaScript?
HTML coders are not programmer but using JavaScript a html operator can do programming in a very simple way because JavaScript is very simple and easy to learn and understand. JavaScript is capable of making …
Read More »What we should know before learning JavaScript ?
We should have knowledge of HTML before learning JavaScript. A JavaScript program can be typed in heador in body part of the HTML page or it could be attached externally to the web page.
Read More »What minimum Hardware and Software requirements are to run JavaScript?
Hardware Requirements Processor: 486 dx4 or above RAM: 16 MB VDU: VGA or SVGA HDD: 1.2 GB or above Software Requirements Operating System: Windows or Linux with browser Text Editor: Any …
Read More »How to use JavaScript into HTML code?
A JavaScript program can be kept in html page under <script> JavaScript program </script> tag. We can place unlimited number of scripts in the html program in head or body section. Keeping JavaScript …
Read More »Number In Java Script
The number type deals with digits, It covers both floating point numbers and integers. Floating point numbers are like – 412.562, 9.2, 0.468 Integer numbers are like : 25, 1258, 968 …
Read More »String In Java Script
String type deals with a single character or a series of characters enclosed with single quotes or double quotes respectively. Initializing string type variables var sect = ‘a’ var is JavaScript keyword, sect …
Read More »Boolean In Java Script
Boolean type has only two values true and false. These constant values are case-sensitive. Initializing Boolean type variables var present = true var is JavaScript keyword, present is a variable name, true is …
Read More »null & undefined In Java Script
Null type has only one value, null. The null value means ‘no data’ or this variable do not have any useful data. Undefined type has one value, undefined, undefined means nothing is stored in …
Read More »infinity and NAN In Java Script
infinity is a property of a number. It represents mathematical infinity. Example Var infi= 1e400*1e350; Var is javascript keyword, infi is a variable name, 1e400 * 1e350 value assigned to infi variable. …
Read More »Arrays In Java Script
If we require many variables of same or different types then a problem of remembering names of variables and many functional problems will arise. Concept of array allows us to store different data type data …
Read More »Alert Box In Java Script
Alert box is a dialog box which displays a message in a small window with an OK button, user have to click on the ok button to proceed. Example <html> <head> </head> <body> <script …
Read More »Prompt Box In java Script
Prompt box is a dialog box which displays a message in a small window with a text box along with two buttons . One OK and other Cancel. Prompt method has ability to return the …
Read More »