TreeItem<String> treeRoot = new TreeItem<String>("Root"); treeRoot.setExpanded(true); TreeItem<String> exportMr = new TreeItem<String>("Upload to HDFS"); treeRoot.getChildren().add(exportMr); TreeView<String&
<html> <head> <script> window.onload = function(){ var opts = document.getElementById("select"); var value = 2//这个值就是你获取的值; if(value!=""){ for(var i=0;i<opts.options.length;i++){ if(value==opts.options[i].value){ o