get all form data javascript 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);
})