RECURSIVE FUNCTION FOR AN ASP FORUM
Posted on 2002-07-15
I have a Tree view forum.
Each item of the tree is in a <TR> named "rec" with a unique ID which is structed like ID="TopParentID,Level,MessageID,ParentID".
-TopParentID=Top most message of the thread
-Level=Level of the current messege within the thread
-ParentID=Parent ID of the current message.
here is what I did: (and doesn't work)
***the GetTree function is being called upon closing an item in the thread
if (allTRs.item(i).name=="rec" )