As of now, I have the text field and I have a function that gives me the value of a particular node that I've selected manually in an alert. The problem is that I have no idea how to search the tree or automatically select a node if that search was successful.
Here's a bit of code so far (hope it helps):
var fcInput = document.getElementById("fcInput").value;
var tree = window.treeMyTreePrompt.getLastSelectedValue();
var treeVal = tree.getValue();
In this example, when I press FIND, an alert will appear giving me the string of the node I'm selecting.
<input type="text" id="fcInput" value="" />
<input type="submit" value="Find" onclick="return findTreeNode()" />