How to add/remove input fields dynamically by a button in shiny
问题 I've been trying to find a solution how to add and remove input fields with a button in shiny. I don't have a source code since I haven't made that much progress, but this jQuery example (http://www.mkyong.com/jquery/how-to-add-remove-textbox-dynamically-with-jquery/) gives a good idea on what I'm trying to accomplish. Is this possible in shiny or should I use shinyjs to do this? Thank you in advance! 回答1: EDIT: I read the jQuery example a bit more, and added a code snippet doing what I think