在 Perl HTML::TreeBuilder 中获取/设置innerHTML?
在 Perl HTML::TreeBuilder 中获取/设置innerHTML?我可以获得innerHTML,但不知道如何设置。
提前致谢。
Get/Set innerHTML in Perl HTML::TreeBuilder? I could get innerHTML but dont know how to set.
Thanks in Advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不确定这种方法是否会让您满意,但您可以使用 html($html) 方法来自 pQuery:
至于为什么 pQuery 可能会让你满意,引用 POD 的话:
I'm not sure if this approach will satisfy you, but you can use html($html) method from pQuery:
As far as why pQuery may satisfy you, to quote from POD:
我会使用 pQuery,但这会起作用
是的,我 RTFM
I'd use pQuery, but this will work
Yes, I RTFM