Node attributes

Discussion in 'ASP .Net Web Controls' started by Mark Goldin, Feb 4, 2004.

  1. Mark Goldin

    Mark Goldin Guest

    I am using this code to get values of the selected node's attributes:
    oNode =
    document.all.TreeView1.getTreeNode(document.all.TreeView1.selectedNodeIndex)
    ;

    alert(oNode.getAttribute("text"));



    The only attribute it's working for is "text". If I try other attributes it
    shows null.

    Any idea, why?
     
    Mark Goldin, Feb 4, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. wolf
    Replies:
    0
    Views:
    558
  2. Replies:
    0
    Views:
    1,472
  3. Replies:
    0
    Views:
    375
  4. Ralf Wahner
    Replies:
    2
    Views:
    2,414
    Ralf Wahner
    Jul 15, 2003
  5. Tjerk Wolterink
    Replies:
    2
    Views:
    1,440
    Dimitre Novatchev
    Aug 24, 2006
Loading...

Share This Page