julia highlight 99j hair color 10a quality straight human hair lace front wigs 8 - 24 inches pre plucked hairline 13x4 inches lace front brazilian wig onlinefor sale
Introduction to JavaScript
Updated on
Kisan Patel
JavaScript was developed by Netscape in 1995. At that time its name was LiveScript. Later on Sun Microsystem joined the Netscape and then they developed LiveScript. And later on its name is changed to JavaScript.
JavaScript has three parts
Core : It includes operators, expressions, statements and subprograms.
Client-side : It is a collection of objects using which one can have control over the browser and user-browser interaction is possible.
Server-side : It is a collection of objects using which one can access the database on the server.
Uses of JavaScript
Let us enlist some important applications of JavaScript by which we will understand the power of JavaScript.
JavaScript can be used as an alternative to Java applets. The Java applets need to be downloaded separately even though they are embedded in XHTML, however JavaScript need not be downloaded and used as embedded in XHTML document.
JavaScript can get embedded in XHTML.
JavaScript can be effectively used for interaction with the users. The JavaScript support form elements such as button, textbox, menus and so on. Simple web applications such as calculator , calendar can be developed using JavaScript.
Using Document Object Model (DOM) JavaScript can access and modify the properties of CSS(Cascading Style Sheets) and contents of XHTML document. Hence the static web document becomes dynamic.
JavaScript can be used to detect the visitor’s browser and can load the page accordingly.
JavaScript can be use to validate the data on the web page before submitting it to the server.