Load javascript file after button click
问题 I am trying to use a set of textboxes to define some data within my JavaScript file. So in a textbox I enter a Team name "Team name", and the javascript file uses this textbox to store the name of a team in order to print a set of tournament brackets. The javascript file is included in my <head> so it loads before I have actually entered the data in the text boxes. I have this code for a button in the html like so: script(type='text/javascript') $('#buttontest').click(function() { $('div