FormData.get function is undefined

孤人 提交于 2019-12-01 22:16:59

问题


FormData.get is undefined in Chrome

https://developer.mozilla.org/en-US/docs/Web/API/FormData/get


回答1:


By default, Chrome does not support the .get() method, as well as delete, get, getAll, has, and set. Although you can enable that functionality by activating an experimental flag, note from MDN:

[2] Chrome support for methods other than append is currently behind the "Enable Experimental Web Platform Features" flag.

For activating flags in Chrome you can go to the following link:

chrome://flags/#enable-experimental-webkit-features


来源:https://stackoverflow.com/questions/33004860/formdata-get-function-is-undefined

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!