Closed Eccenux closed 2 years ago
Hi. This implements #58
Not a very fancy way but should work in all modern browsers. You could add that to app.js I guess, but I noticed it is not used.
Also keeping it in a separate script tag makes it more resilient. I wrote an article about this 🙂 https://enux.pl/article/en/2022-05-30/js-errors-and-why-concatenation-bad-devs
I tested this out locally but it doesnt seem to work.
However changing the click event to https://www.w3schools.com/jsref/met_form_submit.asp works
Hi. This implements #58
Not a very fancy way but should work in all modern browsers. You could add that to app.js I guess, but I noticed it is not used.
Also keeping it in a separate script tag makes it more resilient. I wrote an article about this 🙂
https://enux.pl/article/en/2022-05-30/js-errors-and-why-concatenation-bad-devs