Thread: Treeview
View Single Post
  #1 (permalink)  
Old November 9th, 2004, 12:07 PM
dkr72 dkr72 is offline
Authorized User
 
Join Date: Nov 2004
Location: , , .
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Treeview

How can I identify ID of a selected node using vbscript. I can get all values with the following code, but I only want the ID of the node I am clicking on:

<SCRIPT language="vbscript">

sub GetValue()
s = document.getElementById("treeCategory").innerHTML
MsgBox s
end sub

</SCRIPT>

Thanks in advance
Reply With Quote