<div class="codetitle"> <span><a style="CURSOR: pointer" data="83901" class="copybut" id="copybut83901" onclick="doCopy('code83901')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code83901"> <br><div id="login_1_3a"> <br><a onfocus="this.blur()" href="javascript:void(0)" class="l-button" style="width:80px" onclick="log_1()"> <br><img onfocus="this.blur()" id="img_a" border="0" align="middle" src="login_image/a_1.jpg" alt="Jquery動態改變圖片IMG的src位址範例_jquery"> <br></a> <br> </div> <br> </div> <br><div class="codetitle"> <span><a style="CURSOR: pointer" data="75615" class="copybut" id="copybut75615" onclick="doCopy('code75615')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code75615"> <br>$("#imgatta"). ("src", "login_image/b_2.jpg"); <br> </div> <br>// ========= 還有一點挺重要,就是用下面的屬性,可以去掉圖處點擊後的虛框。 <br><div class="codetitle"> <span><a style="CURSOR: pointer" data="53589" class="copybut" id="copybut53589" onclick="doCopy('code53589')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code53589"> <br>onfocus=this.blur() <br> </div> onfocus=this.blur()