Can I replace form element loop parsing with newer Object.fromEntries(new FormData(form))?

前端 未结 0 1998
日久生厌
日久生厌 2021-02-06 15:21

Can I safely replace this

document.getElementById("frm-Main").addEventListener("submit", (e) =>
{        
    e.preventDefault();
    
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题