Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Sys.UI.DomElement Methods

Introduction

Methods

Name

Description

addCssClass Method

Adds a CSS class to an element if the class is not already part of the element.

containsCssClass Method

Gets a value that indicates whether the element contains the specified CSS class.

getBounds Method

Gets a set of integer coordinates that represent the position, width, and height of an element.

getElementById Method

Gets an element that has the specified id attribute.

$get Shortcut Method

Provides a shortcut to the getElementById method.

getLocation Method

Gets the absolute position of an element relative to the upper-left corner of the browser window.

removeCssClass Method

Removes a CSS class from an element.

setLocation Method

Sets the position of an element.

toggleCssClass Method

Toggles a CSS class in an element.

See Also