using JQuery to search a treeview
<p>i have a texbox and a treeview. i want the user to search in the treeview by typing in the textbox. i think the best way to do it is using JQuery.<br>
how can i search for a word inside a treeview , color it, and focus on it using JQuery?<br>
a simple example would be great...</p>

<p>i am using ASP TreeView. Sample code for my TreeView is:  </p>

<pre><code> TreeNode n = new TreeNode();
    n.Text = "scatman";
    TreeNode q = new TreeNode();
    q.Text = "hehe";
    n.ChildNodes.Add(q);
    TreeNode q3 = new TreeNode();
    q3.Text = "blabla";
    n.ChildNodes.Add(q3);
    TreeNode t = new TreeNode();
    t.Text = "test";
    q.ChildNodes.Add(t);
    TreeNode n1 = new TreeNode();
    n1.Text = "lol";
    t.ChildNodes.Add(n1);
    TreeNode p = new TreeNode();
    p.Text = "daddy";
    TreeView1.Nodes.Add(n);
    TreeView1.Nodes.Add(p);
    TreeNode s = new TreeNode();
</code></pre>
