Is their a way to programmatically select an item in a dashcode list with having the user click on the list? Something like:
var list = document.getE开发者_如何学JAVAlementById("list");
    list.select_item(3);
If it's just an HTML drop-down list (a "select" tag), then you can just set the "selectedIndex" property:
var list = document.getElementById("list");
list.selectedIndex = 3;
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论