W3 Updates, HTML, XHTML, CSS, JavaScript, AJAX, XML, PHP, Ruby, PHP Frameworks

Archive

Archive for the ‘Browser Scripting’ Category

HTML DOM Document Object

January 12th, 2012

Document Object Each HTML document loaded into a browser window becomes a Document object. The Document object provides access to all HTML elements in a page, from within a script. Tip: The Document object is also part of the Window object, and can be accessed through the window.document property. Document Object Collections W3C: W3C Standard. Collection Description [...]

Read More >>

Author: Categories: HTML DOM Tags: , ,

JavaScript Math Object

December 14th, 2011

Complete Math Object Reference For a complete reference of all the properties and methods that can be used with the Math object, go to our complete Math object reference. The reference contains a brief description and examples of use for each property and method! Math Object The Math object allows you to perform mathematical tasks. The [...]

Read More >>

Author: Categories: Java Script Tags: ,

JavaScript Boolean Object

December 14th, 2011

Complete Boolean Object Reference For a complete reference of all the properties and methods that can be used with the Boolean object, go to our complete Boolean object reference. The reference contains a brief description and examples of use for each property and method! Create a Boolean Object The Boolean object represents two values: “true” or [...]

Read More >>

Author: Categories: Java Script Tags: ,

JavaScript Array Object

December 14th, 2011

Complete Array Object Reference For a complete reference of all the properties and methods that can be used with the Array object, go to our complete Array object reference. The reference contains a brief description and examples of use for each property and method! What is an Array? An array is a special variable, which can [...]

Read More >>

Author: Categories: Java Script Tags: ,

JavaScript Date Object

December 14th, 2011

The Date object is used to work with dates and times. Complete Date Object Reference For a complete reference of all the properties and methods that can be used with the Date object, go to our complete Date object reference. The reference contains a brief description and examples of use for each property and method! Create [...]

Read More >>

Author: Categories: Java Script Tags:

JavaScript String Object

December 14th, 2011
Examples

The String object is used to manipulate a stored piece of text. Try it Yourself – Examples Return the length of a string How to return the length of a string. Style strings How to style strings. The toLowerCase() and toUpperCase() methods How to convert a string to lowercase or uppercase letters. The match() method [...]

Read More >>

Author: Categories: Java Script Tags: ,

JavaScript Objects Introduction

December 14th, 2011

JavaScript is an Object Oriented Programming (OOP) language. An OOP language allows you to define your own objects and make your own variable types. Object Oriented Programming JavaScript is an Object Oriented Programming (OOP) language. An OOP language allows you to define your own objects and make your own variable types. However, creating your own [...]

Read More >>

Author: Categories: Java Script Tags:

Create an XMLHttpRequest Object

August 8th, 2011

The keystone of AJAX is the XMLHttpRequest object. The XMLHttpRequest Object All modern browsers support the XMLHttpRequest object (IE5 and IE6 uses an ActiveXObject). The XMLHttpRequest object is used to exchange data with a server behind the scenes. This means that it is possible to update parts of a web page, without reloading the whole [...]

Read More >>

Author: Categories: AJAX Tags:

Send a Request To a Server

August 8th, 2011

The XMLHttpRequest object is used to exchange data with a server. Send a Request To a Server To send a request to a server, we use the open() and send() methods of the XMLHttpRequest object: xmlhttp.open(“GET”,”ajax_info.txt”,true); xmlhttp.send(); Method Description open(method,url,async) Specifies the type of request, the URL, and if the request should be handled asynchronously [...]

Read More >>

Author: Categories: AJAX Tags: ,

Server Response

August 8th, 2011

Server Response To get the response from a server, use the responseText or responseXML property of the XMLHttpRequest object. Property Description responseText get the response data as a string responseXML get the response data as XML data The responseText Property If the response from the server is not XML, use the responseText property. The responseText [...]

Read More >>

Author: Categories: AJAX Tags: