【发布时间】:2013-07-01 20:02:51
【问题描述】:
我的文本包含 ' 和 " 字符,所以我想使用 jquery 替换而不是 ' 作为 1 和 " 作为 2
前:
<span style="color: #ff0000; font-style: italic; text-decoration: underline line-through">text</span>
我想输入 1、2、3、4 等,而不是特殊字符。 结果将是
<span style=1color: #ff0000; font-style: italic; text-decoration: underline line-through1>text</span>
【问题讨论】:
-
不确定您想要什么...您要删除引号吗?
-
我想替换 (") 然后字符串通过 ajax 数据再次在 C# 代码中传递给 webmethod 我想替换原始文本的 (")
标签: jquery