Availability: |
| |||
Inherits from: | Element object | |||
JavaScript syntax: | IE | myRuby = myDocument.all.anElementID | ||
IE | myRuby = myDocument.all.tags("RUBY")[anIndex] | |||
IE | myRuby = myDocument.all[aName] | |||
- | myRuby = myDocument.getElementById(anElementID) | |||
- | myRuby = myDocument.getElementsByName(aName)[anIndex] | |||
- | myRuby = myDocument.getElementsByTagName("RUBY")[anIndex] | |||
Argument list: | anIndex | A reference to an element in a collection | ||
aName | An associative array reference | |||
anElementID | The ID value of an Element object | |||
Collections: | all[], attributes[], childNodes[], children[], filters[] |
To create a RUBY object, you use the <RUBY> HTML tag like this:
<RUBY>
Some base text
<RT>Some ruby text
</RUBY>
The <RT> tag creates an RT object.
Prev | Home | Next |
RT object | Up | rule object |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |