11
25
2008
0

[javascript]删除div的方法

方法一:div.removeNode(true);//火狐不支持

方法二:div.parentNode.removeChild(div);//IE火狐都支持

此方法也可以用来删除别的标签

Category: JavaScript | Tags: 删除div | Read Count: 2088

登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter

Host by is-Programmer.com | Power by Chito 1.3.3 beta | Theme: Aeros 2.0 by TheBuckmaker.com