You can use FormData to get the data from the inputs for the form directly: Object.fromEntries(new FormData(event.target)).
確定! 回上一頁