String Example – Data Type – JavaScript Syntax – JS String Example

String Example – Data Type – JavaScript Syntax – JS String Example Purpose: – Illustrates the JavaScript syntax for the String Object . JavaScript String Examples String Object Properties constructor Returns the function that created the String object’s prototype length Returns the length of a string prototype Allows you to add properties and methods to an object String HTML Wrapper Methods anchor() Creates... [Read More...]

Number Example – Data Type – JavaScript Syntax – JS Number Example

String Example – Data Type – JavaScript Syntax – JS String Example Purpose: – Illustrates the JavaScript syntax for the Number Object . Prerequistes: Install Visual Web Developer 2008 Syntax: var num=new Number(123.5); num.property or num.method(); – Demonstrates how to use properties and methods of Number object. Restrictions: None Notes: You can build your own library of syntax examples by using same web site... [Read More...]

Boolean Example – Data Type – JavaScript Syntax – JS Boolean Example

Boolean Example – Data Type – JavaScript Syntax – JS Boolean Example Purpose: – Illustrates the JavaScript syntax for the Boolean example. Prerequistes: Install Visual Web Developer 2008 Syntax: var myBool = new Boolean(); – Demonstrates creating a Boolean object and various ways to make it true or false Restrictions: None Notes: You can build your own library of syntax examples by using same web site over... [Read More...]