相关疑难解决方法(0)

链接脚本的jQuery文本?

有没有人知道一个脚本可以选择对URL的所有文本引用,并自动用指向这些位置的锚标签替换它们?

For example:

http://www.google.com 

would automatically turn into

<a href="http://www.google.com">http://www.google.com</a>
Run Code Online (Sandbox Code Playgroud)

注意:我想要这个,因为我不想浏览我的所有内容并用锚标记包装它们.

html javascript anchor jquery

40
推荐指数
3
解决办法
4万
查看次数

标签 统计

anchor ×1

html ×1

javascript ×1

jquery ×1