Pages

Javascript Boolean valueOf() Method

4/4/14
Description: Javascript boolean valueOf() method returns the primitive value of the specified booleanobject.. Syntax: boolean.valueOf() Here is the detail of parameters: NA Return Value: Returns the primitive value of the specified boolean object. Example: <html> <head> <title>JavaScript valueOf() Method</title> </head> <body> <script type="text/javascript"> var...
Read more ...

Javascript Boolean toString() Method

4/4/14
Description: This method returns a string of either "true" or "false" depending upon the value of the object. Syntax: boolean.toString() Here is the detail of parameters: NA Return Value: Returns a string representing the specified Boolean object. Example: <html> <head> <title>JavaScript toString() Method</title> </head> <body> <script type="text/javascript"> var flag...
Read more ...

Javascript Boolean toSource() Method

4/4/14
Description: Javascript boolean toSource() method returns a string representing the source code of the object. Note: This method does not work in Internet Explorer. Syntax: boolean.toSource() Here is the detail of parameters: NA Return Value: Returns a string representing the source code of the object. Example: <html> <head> <title>JavaScript toSource() Method</title> </head> <body> <script...
Read more ...

Javascript Number - valueOf()

4/4/14
Description: This method returns the primitive value of the specified number object. Syntax: number.valueOf() Here is the detail of parameters: NA Return Value: Returns the primitive value of the specified number object. Example: <html> <head> <title>JavaScript valueOf() Method </title> </head> <body> <script type="text/javascript"> var num = new...
Read more ...

Javascript Number - toString()

4/4/14
Description: This method returns a string representing the specified object. The toString method parses its first argument, and attempts to return a string representation in the specified radix (base). Syntax: number.toString( [radix] ) Here is the detail of parameters: radix: An integer between 2 and 36 specifying the base to use for representing numeric values. Return Value: Returns a string representing...
Read more ...

Javascript Number - toPrecision()

4/4/14
Description: This method returns a string representing the number object to the specified precision. Syntax: number.toPrecision( [ precision ] ) Here is the detail of parameters: precision: An integer specifying the number of significant digits. Return Value: Returns a string representing a Number object in fixed-point or exponential notation rounded toprecision significant digits. Example: <html> <head> <title>JavaScript...
Read more ...

Javascript Number - toLocaleString()

4/4/14
Description: This method converts a number object, into a human readable string representing the number using the locale of the environment. Syntax: number.toLocaleString() Here is the detail of parameters: NA: Return Value: Returns a human readable string representing the number using the locale of the environment. Example: <html> <head> <title>JavaScript toLocaleString() Method </title> </head> <body> <script...
Read more ...

Javascript Number - toFixed()

4/4/14
Description: This method formats a number with a specific number of digits to the right of the decimal. Syntax: number.toFixed( [digits] ) Here is the detail of parameters: digits: The number of digits to appear after the decimal point. Return Value: A string representation of number that does not use exponential notation and has exactly digitsdigits after the decimal place. Example: <html> <head> <title>JavaScript...
Read more ...

Javascript Number - toExponential()

4/4/14
Description: This method returns a string representing the number object in exponential notation Syntax: number.toExponential( [fractionDigits] ) Here is the detail of parameters: fractionDigits: An integer specifying the number of digits after the decimal point. Defaults to as many digits as necessary to specify the number. Return Value: A string representing a Number object in exponential notation...
Read more ...

Javascript Number - constructor()

4/4/14
Description: This method returns a reference to the Number function that created the instance's prototype. Syntax: number.constructor() Here is the detail of parameters: NA Return Value: Returns the function that created this object's instance. Example: <html> <head> <title>JavaScript constructor() Method</title> </head> <body> <script type="text/javascript"> var num...
Read more ...

CSS Quick Guide

4/4/14
This is a quick guide for web developers where we have listed all the CSS properties defined in the World Wide Web Consortium's Recommended Specification for Cascading Style Sheets, Level 2 We include each property's possible values, defined as either an explicit keyword or as one of these values: angle: A numeric value followed by deg, grad or rad. color: Either a color name or hexadecimal RGB...
Read more ...

Related Posts