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

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

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.