I want the result of a form as JSON. And served into a vanilla javascript function. How do I do this? Besides this I want the submit button to be placed outside the form. This fiddle shows my attempt, but it maybe can be done in a smarter way.
@NogDogJul 14.2021 — #Found this is a google search, which seems to work. (I'm not enough of a JavaScripter to have any idea if it's a good way to do it. :) )