87,991
社区成员
发帖
与我相关
我的任务
分享<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script>
</head>
<body>
<div id="divhtml" style=" display:none"><img width="475" height="60" border="0" title="" alt="" src="http://info-database.csdn.net/Upload/2013-09-02/msdn-475-60-0902.jpg"></div>
<input type="button" value="show" onclick="$('#divhtml').show()">
</body>
</html>
<script>
$("img").dblclick(function(){alert($(this).attr('src'))})
</script>