Monday, 3 October 2016

Changing the image source using jQuery


Changing the image source using jQuery

<img  height="15" width="15" id="btnSaveUnsave" />
<script>
    $(document).ready(function () {
        $('#btnSaveUnsave').attr('src', '../../Images/cross.png');       
    });

</script>

No comments:

Post a Comment

Interactive CSS Button Designer Tool – Free & Fast

What is Button ?                               Button is an element of HTML. HTML is used to design Web Pages, Websites and Web applications...