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