Javascript tps

Javascript – Button examples Alert button , Confirmation button ,Image button , Next button , Previous button , Prompt button , Scrolling text button , Rotating text button Javascript – Background Background music , Background color/image , Fixed background image Javascript – Cookies Set cookie , get cookie Javascript – Combo Boxes combo with button…

Read More

Javascript- Objects

Javascript Objects: Introduction Properties Methods Pre-defined objects Creating objects JavaScript is an object-oriented scripting language. What is an object ? An object is a collection of properties (variables) and methods (functions) all brought under a single name. JavaScript lets you create your own objects for storing data and to use some predefined objects. Eg: Every…

Read More

Javascript-Statements if…else Switch For Do….while While Labeled Break Continue For…in With comments

Statements : If…..else Switch For Do….while While Labeled Break Continue For…in With comments A statement is setting a variable equal to a value. A statement is also a function call, i.e. document.write(). Statements define what the script will do and how it will be done.A Javascript code consists of Javascript statements. Each statement is a…

Read More