【发布时间】:2014-01-06 05:13:57
【问题描述】:
如何替换打击元素来输入文字? 我目前不知道是否有任何解决方案,请在这里告诉我!
HTML 文本:
In the <b>joy</b> of <strike>other</strike>, lies our <strike>own</strike>.
替换文字:
In the <b>joy</b> of <input type="text">, lies our <input type="text">.
【问题讨论】:
-
欢迎使用 StackOverflow:stackoverflow.com/help/how-to-ask :)
-
问题到底是什么?如何使用 javascript 将
<strike>html 替换为<input>标签? -
[this][1] 是相关问题。为您提供解决问题的线索[1]:stackoverflow.com/questions/5444041/replace-node-name
-
非常感谢,代码正在运行!
标签: javascript jquery