Adobe 38040334 - Dreamweaver CS3 User Manual page 307

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

element.getTranslatedAttribute()
Availability
Dreamweaver CS3.
Description
This function is the same as the W3C
element.getTranslatedAttribute()
Arguments
name
• The
argument is a DOMString that is the name of the attribute to retrieve.
name
Returns
Returns the name of the attribute as a DOMString. If the attribute does not have a specified or default value, this
function returns an empty string.
element.removeTranslatedAttribute()
Availability
Dreamweaver CS3.
Description
This function is the same as the W3C
element.removeTranslatedAttribute()
value, an attribute appears containing the default value and the corresponding namespace URI, local name, and
prefix, if applicable.
Arguments
name
• The
argument is a DOMString that is the name of the attribute to remove.
name
Returns
Nothing.
element.setTranslatedAttribute()
Availability
Dreamweaver CS3.
Description
This function is the same as the W3C
element.setTranslatedAttribute()
the specified name already exists in the element, its value is changed to that specified in the
The
is a simple string; it is not parsed as it is being set. Therefore, any syntax included in the string is treated
value
as simple text, and must be appropriately escaped by the implementation when it is written out.
function, but acts on translated attributes. The
getAttribute()
function retrieves an attribute value by name.
function, but acts on translated attributes. The
removeAttribute()
function removes an attribute by name. If the attribute has a default
function, but acts on translated attributes. The
setAttribute()
function adds a new attribute with the value specified. If an attribute with
DREAMWEAVER CS3
API Reference
argument.
value
302

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents