用JQuery给图片添加鼠标移入移出事件
$("#addLineImg").mouseover( function(){ $("#addLineImg").attr("src","pages/annottor/claim/img/plus2.png"); } ); $("#addLineImg").mouseout( function(){ $("#addLineImg").attr("src","pages/annottor/claim/img/plus.png"); } );
$("#addLineImg").mouseover( function(){ $("#addLineImg").attr("src","pages/annottor/claim/img/plus2.png"); } ); $("#addLineImg").mouseout( function(){ $("#addLineImg").attr("src","pages/annottor/claim/img/plus.png"); } );