Easy Text URL To Hyperlink Converter With jQuery - Replace Anchor Links

Easy Text URL To Hyperlink Converter With jQuery - Replace Anchor Links
File Size: 3.37 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Replace Anchor Links is a dead simple to use jQuery plugin that automatically converts text URLs within a specific container into clickable hyperlinks.

See also:

How to use it:

1. Just include the jQuery Replace Anchor Links plugin's script after jQuery library:

<script src="//code.jquery.com/jquery.min.js"></script>
<script src="replace_anchor_links.min.js"></script>

2. Then call the replaceAnchorLinks() function on the element containing text URLs and done.

$('p').replaceAnchorLinks();

This awesome jQuery plugin is developed by waiyanhein. For more Advanced Usages, please check the demo page or visit the official website.