Launch the function loadJSON() with a html button

yes, thanks,
I have now to retrieve the data from an input element.