SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard
    Join Date
    Apr 2002
    Posts
    2,322
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    js the definitive guide book specific small question

    in the 5th edition of david flanagan's javascript the definitive guide book, on page 324 there's this line:

    var s = n.firstChild.data;

    that 'data' property (it is a property not a method i think, right?), where in the book is it talked about? can't find it from the index, nor any other way of looking it up.

    thanks.

  2. #2
    SitePoint Guru
    Join Date
    Apr 2006
    Posts
    802
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Turn the page. Page 326 explains the data property, with an example.

  3. #3
    SitePoint Wizard
    Join Date
    Apr 2002
    Posts
    2,322
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mrhoo View Post
    Turn the page. Page 326 explains the data property, with an example.
    ah right, i'd missed that but just found it documented under CharacterData in the client side reference bit. thanks.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •