删除子节点 [英] removing a child node

查看:118
本文介绍了删除子节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在那里,我正在创建一个应用程序,其中我必须填充由一些文本字段和一些输入框组成的列,问题出在mozilla的末尾,它创建一个新节点并附加新创建的或子节点到了父节点,它在Explorer和Mozzila中的添加点正常工作但是当它删除列时它仍然在资源管理器中完美运行,没有任何javascript或其他错误但是当我尝试使用Mozzila时它给了我错误。

错误代码在这里
未找到节点代码:8

为什么这样我无法理解如果它找不到节点那么它意味着我提供的名称不是正确的,但如果它是不是正确的那么它怎么可以在浏览器中删除它

这里是我的代码,任何帮助都将受到高度赞赏

hi there i am making an application in which i have to populate columns that consist of some textfields and some input boxes the problem is at the mozilla''s end, it creates a new node and appends the new created or child node to the parent node it is working fine to the point of addition in the Explorer And Mozzila but when it comes to deleting the column it still works perfect in explorer without any javascript or other error but when i try to use Mozzila it gives me error.
the error code is here
Node was not found" code: "8
why is that so i cant understand if it cant find the node then it means tha the name i am providing it is not the right one,but if it is not the right one then how come it could delete it in the explorer
here is my code for that work any help would be highly appreciated

展开 | 选择 | Wrap | 行号

推荐答案

这个错误出现在哪一行?
What line is this error occurring on?



什么行是否发生此错误?
What line is this error occurring on?



它位于javascript代码行32中,我正在尝试为parentdiv创建一个对象,然后删除该div的子节点。

it is in the javascript code line 32 where i am trying to make an object for the parentdiv and then remove the child node of that div.

展开 | 选择 | Wrap | 行号


为什么txtHint+0?为什么不txtHint0?
Why "txtHint"+0? Why not "txtHint0"?


这篇关于删除子节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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