全部 ApiPost使用 后端 前端 接口测试 IOS Android 数据库 2022 测试技术 工具
问答 / 解决方案 / 解决方案详情

$("form").serialize()和 new FormData($('#uploadForm')[0])的区别是什么?

前端 7279次浏览

$("form").serialize()和 new FormData($('#uploadForm')[0])都是序列化表单,实现表单的异步提交,但是二者有区别。区别是什么?

| 0 收藏

解决方案

RfIW3Hh0JEwWXZiXwxE8J+I5qezFiYJ4VH6b06qjcxJZ6bCO74yBjwWVXmkpvBMcEE+uweMC6beCo5ahC17Fu3bY0dmxoFIw4FWRjxuP8M2I3OAF6zvl3AXgNKcmaqQp/AUlratoRtq7TC2ruonixFvisxJy2Vh5ChskSEYnDJOpTPLZQGRCgBL98tsNKxtR1UbJUfznS+qyyzZIl7u79kKtv/5gFsZ9rPZz9PNGv8AjKX7KVan7QmbTvxkS5yRlL7oSQKfobIDIISvuvvAUk1luUmBT+X8ktlCW7AoIOMh2QcoLqcrEkcZleFYi2VNDPNZPEBgbf9vq3VrwaBv93lECCnBO4cjMvczcSZ1G6MN7oFPIXL/KNUquVvYNDnMMn+WBALYSU+UXkNipsb0MkbKJuUfPk7362OnLWei4UQEQFs8/v0mdkjHewii9zZRl89n5i72Hss3QfGqwJsbozyUTMoqeLkEiT7ZCAKrEjbBj3Uxl49s74rpg15albH1bUC+hNxJFxYXVofeUHlPK5xL0ncOfxxcU2SvO+a6JDF873OMttcPgnglyOWFjvEL636W6Scdm0UiYu5h7Xgb0E1LKU1IcPgMz5ecFsBapCwxzW4sVnmAJj0soojisgWkAd6bglw1ADrOmzbavDcqQfSIGv0ACxHzP9aWCimL3Qpg+eWkWabaf0IXgibQhKoPHk5KSFKNzf+TJAzq/CMAzl8enk2ufjz5ySvjR98XWtY6i+ffR/HjNXIZL0yR5bEbRxR3YHGfUiztX8eQVulYqomFFHLvYu7N9uLk6Y80XIdVVFL5r+Q+PuH1+9eo2lk4jXGyH0S2mG2ZsJJisEkK/74Zl/kI1JZzTG/26qzusfkSDTIdIRHnjDyYTz8NQgXge79mOzKOCUkeLbqqjl7YeQwtQSrmczBaMqPO+NxhroGRoIg9++Qhb+2GYDauXF0zvDOyM7O3DrWSHFrSXmMSvxoiq2Jww27zQeyKgQI/EA/MyyTSXbdlNqbE/O0ZX1GDUau8/S5Z4SolDbH8scRM7ATJsEJUFdVhUUclR5OSmT5IMwksi4MtMixiNGiywZgUwVC8Hio7FKGvTubu69MuhQFG5SL59LIeORSW78uspHaPEcGd1g8Hc4NjJ8ebTRT3WaOgEkZ4MLMyU6LWGhNg1XYcheTvyQJHxXxIwDwFK6ZIglUHLjEn85j/FoJRjA1+yt3/UqLeAiNoCcxx6skJjjUxm96e4oIeXL6kH+O5bTX3iMgTBDsDw2Y7P8dgbk2lJz1BojSedl0tHWnei6IurAA4vcqNJtpjxl/pKYLLb0nl9jcWTWx6oWeGX0II31QUIDKN23ZqJa7g+WB8Rn9DHfTbvdfJPtDwDbm1nqMso6RwKKdqtuctW1FbPYkpHRSox

评论

开发者问答

只服务于

前后端、移动端、测试人员

发布解决方案 发布您遇到的Bug和解决方案,成为大神,让众人膜拜吧!