我是新手闪亮,我试图保存反应表的基础上,用户从一个下拉菜单选择。我希望我的下拉菜单有一个反应表的列表,用户可以选择,然后点击保存按钮,以保存所选的表,这是我尝试,但似乎下拉菜单没有选择反应表 # Set libraries
library(shiny)
library(shinyFiles)
# Shiny app with two fields that the user can submit data for
shinyApp(
ui = fluidPage(
DT::dataTableOutput("responses", width = 300), t
当用户单击汉堡图标时,我正在尝试显示/隐藏下拉菜单。 当用户点击#汉堡包图标时,类.show在#dropdown-content上切换。切换.show以显示/隐藏#dropdown-content。 请参考jsfiddle:https://jsfiddle.net/d8oubjmk/1/ 相关JS代码为: // Get the button, and when the user clicks on it, execute myFunction
document.getElementById("hamburger-icon").onclick = function() {myF