:: Documentation >>

toString

Converts object to string.

null

Syntax

var s = obj.toString();

Returns

html string.

Example

The toString() method is called automatically when object is used in a string context, for example

document.write(obj.toString());

is equivalent to

document.write(obj);

The following example also triggers obj.toString() method call -

var div = document.getElementById("parentId");
div.innerHTML = obj;

Remarks

The html string of the object is re-created when refresh() is called.

See also

refresh() method (AW.System.HTML)

Comments

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5