且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用jQuery删除LI

更新时间:2023-12-05 18:51:04

你需要做的是(在玩使用DOM时)

- 复制内部< ul>

- 替换外部< ul>使用复制的节点


虽然不要问我如何使用jQuery


如果除了jQuery之外还有其他任何想法所有的方法都告诉。


假设我可以挂钩(在jQuery中会更容易)
展开 | 选择 | Wrap | 行号

I have the code below, I need to remove the opening UL and LI and the closing LI and UL and just keep the inner UL.

I''ve tried the everything I can think of but not being an expert in jQuery is letting me down, any help much appreciated.

登录 关闭
扫码关注1秒登录
使用jQuery删除LI
发送“验证码”获取 | 15天全站免登陆
上一篇 : :无法在脚本模块中创建 PowerShell 别名下一篇 : 通过ClearCase自动化库(CAL)获取ClearCase快照视图?

相关阅读

推荐文章