js代码提交表单出现:form submission canceled because the form is not connected
2017-03-01 00:00
966 查看
这个是用js中构建的一个表单,使用jq的submit提交出现的问题,后来终于的stackoverflow上找到了答案:http://stackoverflow.com/questions/42053775/getting-error-form-submission-canceled-because-the-form-is-not-connected
在表单提交前加上了这句话:$(document.body).append($form);就好了,对与前端的只是了解的太少了,以后要多多学习了。
在表单提交前加上了这句话:$(document.body).append($form);就好了,对与前端的只是了解的太少了,以后要多多学习了。
相关文章推荐
- Jquery组织Form表单提交之Form submission canceled because the form is not connected
- jquery使用 Form submission canceled because the form is not connected
- Form submission canceled because the form is not connected
- Form submission canceled because the form is not connected 解决办法
- Chrome浏览器下报Form submission canceled because the form is not connected
- Form submission canceled because the form is not connected 异常
- AJAX POST 后跳转页面Form submission canceled because the form is not connected的问题解决
- jquery使用 Form submission canceled because the form is not connected
- Chrome报表单提交错误,Form submission canceled because the form is not connected
- js提交表单错误:document.form.submit() is not a function
- js提交表单错误:form.submit is not a function
- js提交表单错误:document.form.submit() is not a function
- js提交表单bug:document.form.submit() is not a function
- js提交表单错误:document.form.submit() is not a function
- js提交表单错误:document.form.submit() is not a function
- 在MOSS2007上加载工作流出现以下错误:“The form cannot be displayed because session state is not available”
- js提交表单bug:document.form.submit() is not a function
- cocos2d-js 使用http时 出现 Response failed, error buffer: The resource could not be loaded because the Ap
- An invalid form control with name='file[]' is not focusable.间接点击form表单的<input type="file">出现的问题
- 在form表单里不要出现submit等关键词,否则调用form.submit();会出现form.submit is not a function的错误;