• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Laying Out Text in SVG > Examples of Accessing and Manipulating the ...

Examples of Accessing and Manipulating the DOM

In this section, we will create examples that show how to access and manipulate the DOM.

Accessing Text Content

Listing 8.19 shows how to access the length of the content of a text element by using the getNumberofChars() method.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint