JQuery Tutorial Auto Hyperlinking Plaintext URL
Links are found in nearly all web pages. Links allow users to click their way from page to page. HTML Links - Hyperlinks HTML links are hyperlinks. You can click on a link and jump to another document. When you move the mouse over a link, the mouse arrow will turn into a little hand. Note: A link does not have to be text. It can be an image or any other HTML element. HTML Links - Syntax In HTML, links are defined with the <a> tag: < a href =" url " > link text < /a > Problem: How to Auto Convert Plaintext URL (http://example.net) to hyperlinked URL (<a href="http://example.net/">example.net</a>) Using jQuery/JavaScript ? Let's begun: now iam using this codes (jQuery): // Auto Hyperlinker $('#feed').ready(function(){ //parent container // Get each div $('.content').each(function(){ //contents container // Get the content var str = $(this).html(); // Set the regex string va...