Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

add link to text using span html

<script type="text/javascript">
    $(document).ready(function(){
        $('td span').each(function(){
            $(this).html("<a href='" + $(this).html() + "' />" + 
                $(this).html() + "</a>");
        });
    });
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #link #text #span #html
ADD COMMENT
Topic
Name
3+5 =