$("#addLineImg").mouseover( function(){ $("#addLineImg").attr("src","pages/annottor/claim/img/plus2.png"); } ); $("#addLineImg").mouseout( function(){ $("#addLineImg").attr("src","pages/annottor/claim/img/plus.png"); } );