当我在Chrome中使用Remove()时它可以工作但不起作用 [英] When I Work With Remove() In Chrome It Works But Ie Not Working

查看:82
本文介绍了当我在Chrome中使用Remove()时它可以工作但不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行我的mvc应用程序时,它正在使用chrome但不能在IE上工作,错误显示在下面JavaScript运行时错误:对象不支持属性或方法'remove()'请帮助我。

when run my mvc application it is working on chrome but not working on IE the error shows below "JavaScript runtime error: Object doesn't support property or method 'remove()'" please help me.

推荐答案

Remove()方法不是跨浏览器。但是,有一个解决方法 [ ^ ]



UPD :对不起,我没注意到你把你的问题标记为jQuery。您能否澄清一下使用jQuery对象或DOM对象时是否出现此错误?
Remove() method is not cross-browser. However, there's a workaround[^]

UPD: Excuse me, I didn't notice you marked your question as jQuery. Could you please clarify if this errors appears when working with jQuery object or DOM object?


这篇关于当我在Chrome中使用Remove()时它可以工作但不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆