操作方法
原图如下: 点击按钮后的效果如下: 代码部分: 源码部分(复制可用): <body> <form id="form1" runat="server"> <span>JS制作X光照片</span> <div > <div id="div1" style="float:left; border:3px solid #99cc66;"> <img src="1.png" style="width:450px; height:600px; "/> </div> <input type="button" value="X 光照片" style="cursor:pointer; background:#99cc66" onClick="document.getElementById('div1').style.filter='Xray';"/> </div> </form> </body>