p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   VBScript (http://p2p.wrox.com/forumdisplay.php?f=77)
-   -   Treeview (http://p2p.wrox.com/showthread.php?t=21014)

dkr72 November 9th, 2004 12:07 PM

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


All times are GMT -4. The time now is 03:13 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.