HTML DOM Document Object Collections, Properties, and Methods

HTML DOM Document Object Examples Purpose: – Illustrates the JavaScript syntax for working with the HTML DOM Document Object. HTML DOM Document Object Examples Document Object Collections anchors[] Allows you to access all of the Anchor objects in a document forms[] Allows you to access all of the Form objects in a document images[] Allows you to access all of the Image objects in a document links[] Allows you to access all of the... [Read More...]

String.ValueOf Example- JavaScript Syntax – JS String.ValueOf Sample Example

String.ValueOf Example- JavaScript Syntax – JS String.ValueOf Sample Example Purpose: – Illustrates the JavaScript syntax for the String ValueOf . View Other String Properties and Methods Prerequistes: Install Visual Web Developer 2008 Syntax: string.valueOf() – Returns the primitive value of a String object. Restrictions: None Notes: You can build your own library of syntax examples by using same web site over and over... [Read More...]

String.ToUpperCase Example: JavaScript Syntax – JS String.ToUpperCase Sample Example

String.ToUpperCase Example: JavaScript Syntax – JS String.ToUpperCase Sample Example Purpose: – Illustrates the JavaScript syntax for the String ToUpperCase . View Other String Properties and Methods Prerequistes: Install Visual Web Developer 2008 Syntax: string.toUpperCase() – Converts a string to Uppercase letters. Restrictions: None Notes: You can build your own library of syntax examples by using same web site over and... [Read More...]

String.ToLowerCase Example: JavaScript Syntax – JS String.ToLowerCase Sample Example

String.ToLowerCase Example: JavaScript Syntax – JS String.ToLowerCase Sample Example Purpose: – Illustrates the JavaScript syntax for the String ToLowerCase . View Other String Properties and Methods Prerequistes: Install Visual Web Developer 2008 Syntax: string.toLowerCase() – Converts a string to lowercase letters. Restrictions: None Notes: You can build your own library of syntax examples by using same web site over and... [Read More...]

String.Substring Example: JavaScript Syntax – JS String.Substring Sample Example

String.Substring Example: JavaScript Syntax – JS String.Substring Sample Example Purpose: – Illustrates the JavaScript syntax for the String Substring . View Other String Properties and Methods Prerequistes: Install Visual Web Developer 2008 Syntax: string.substring(fromIndex,ToIndex) – Extracts the characters from a string, between two specified indices. – toIndex is optional and is not included in the returned string Restrictions:... [Read More...]

Javascript (JS) String.Substr Example: JavaScript Syntax – Javascript (JS) String.Substr Sample Example

Javascript (JS) String.Substr Example: JavaScript Syntax – Javascript (JS) String.Substr Sample Example Purpose: – Illustrates the JavaScript syntax for the String Substr . View Other String Properties and Methods Prerequistes: Install Visual Web Developer 2008 Syntax: string.substr(startIndex,EndIndex) – Extracts the characters from a string, beginning at a specified start position, and through the specified number of character... [Read More...]

String.Split Example – JavaScript Syntax – JS String.Split Sample Example

String.Split Example – JavaScript Syntax – JS String.Split Sample Example Purpose: – Illustrates the JavaScript syntax for the String Split . View Other String Properties and Methods Prerequistes: Install Visual Web Developer 2008 Syntax: string.split(separator,limit) – Splits a string into an array of substrings – separator is the character(s) that define where split occurs; limit is optional and defines max number... [Read More...]

String.Slice Example: JavaScript Syntax – JS String.Slice Sample Example

String.Slice Example: JavaScript Syntax – JS String.Slice Sample Example Purpose: – Illustrates the JavaScript syntax for the String Slice . View Other String Properties and Methods Prerequistes: Install Visual Web Developer 2008 Syntax: string.slice(beginIndex,endIndex) – Extracts a part of a string and returns a “slice” of the original string – endIndex is optional. Restrictions: None Notes: You can build... [Read More...]

String.Search Example: JavaScript Syntax – JS String.Search Sample Example

String.Search Example: JavaScript Syntax – JS String.Search Sample Example Purpose: – Illustrates the JavaScript syntax for the String Search . View Other String Properties and Methods Prerequistes: Install Visual Web Developer 2008 Syntax: string.search(“regexp or string”) – Searches for a match between a regular expression and a string, and returns the position of the match. Restrictions: None Notes: You can... [Read More...]

String.Replace Example: JavaScript Syntax – JS String.Replace Sample Example

String.Replace Example: JavaScript Syntax – JS String.Replace Sample Example Purpose: – Illustrates the JavaScript syntax for the String Replace . View Other String Properties and Methods Prerequistes: Install Visual Web Developer 2008 Syntax: string.Replace(“regexp or oldstring”, “newstring”) – Searches for a match between a substring (or regular expression) and a string, and replaces the matched substring... [Read More...]

String.Match Example: JavaScript Syntax – JS String.Match Example

String.Match Example: JavaScript Syntax – JS String.Match Example Purpose: – Illustrates the JavaScript syntax for the String Match . View Other String Properties and Methods Prerequistes: Install Visual Web Developer 2008 Syntax: string.match(pattern) – Searches for a match between a regular expression and a string, and returns the matches. Pattern is what you are trying to find in the string. Restrictions: None Notes: You... [Read More...]

« Previous PageNext Page »