js get all values from form code example
Example: js get all data in form
document.addEventListener('submit', function (event) {
let fd = new FormData(event.target);
})
document.addEventListener('submit', function (event) {
let fd = new FormData(event.target);
})