Add Image to Anchor Tag


In this article, I will explain how to Add image beside to Anchor tag in Dotnet using Jquery, find source code in Article Body and divided 2 parts, one is in Body tag and second is in head tag. Please add your comments.

Inside Body and Form Tag












  • Tragedies

    • Hamlet

    • Macbeth

    • Romeo and Juliet



  • Histories

    • Henry IV (email)

      • Part I

      • Part II


    • Henry V

    • Richard II










Inside Head tag


Add below Refrencess




<script src="Scripts/jquery-1.8.3.js" type="text/javascript" language="javascript"></script>
<script type="text/javascript" language="javascript">
$(document).ready(function () {
$('#selected-plays > li').addClass('horizontal');
$('a[href^="mailto:"]').addClass('mailto');
$('a[href$=".pdf"]').addClass('Pdflink');
$('a[href^="http"][href*="henry"]').addClass('henrylink');
});
</script>



Add Image to Anchor Tag


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: