(selected customer id)
Rico.onLoad( function() { var options={ showPlusMinus: false, showFolders : true, showLines : false, leafIcon : Rico.imgDir+'right.gif' } tree1=new Rico.TreeControl("tree1", "CustTree.php", options); tree1.atLoad(); tree1.returnValue=function(newVal) { $('TreeValue1').value=newVal; }; });