有没有人知道一个脚本可以选择对URL的所有文本引用,并自动用指向这些位置的锚标签替换它们?
For example: http://www.google.com would automatically turn into <a href="http://www.google.com">http://www.google.com</a>
注意:我想要这个,因为我不想浏览我的所有内容并用锚标记包装它们.
html javascript anchor jquery
anchor ×1
html ×1
javascript ×1
jquery ×1