是否可以使用 jQuery replaceWith 来更改一卡车 id 以 TMBOBJ 开头的 div
<div id="TMBOBJ7DC931A601118D2" style=" position:absolute; top:40px; left:446px; width:150px; height:100px; z-index:2;">
<a href="Untitled_1/imag000A.html" onclick="newWin('Untitled_1/imag000A.html',333,500);return false;" target="_blank">
<img src="Untitled_1/imag000.jpg" width=150 height=100 border=0>
</a>
</div>
<div id="TMBOBJ7DC931A60C7D2" style=" position:absolute; top:26px; left:52px; width:150px; height:100px; z-index:3;">
<a href="Untitled_1/imag001A.html" onclick="newWin('Untitled_1/imag001A.html',333,500);return false;" target="_blank">
<img src="Untitled_1/imag001.jpg" width=150 height=100 border=0>
</a>
</div>
...进入这些?
<div id="TMBOBJ7DC931A601118D2" style=" position:absolute; top:40px; left:446px; width:150px; height:100px; z-index:2;">
<a class="new" href="Untitled_1/imag000A.jpg">
<img src="Untitled_1/imag000.jpg" width=150 height=100 border=0>
</a>
</div>
<div id="TMBOBJ7DC931A60C7D2" style=" position:absolute; top:26px; left:52px; width:150px; height:100px; z-index:3;">
<a class="new" href="Untitled_1/imag001A.jpg">
<img src="Untitled_1/imag001.jpg" width=150 height=100 border=0>
</a>
</div>
我什至无法通过仅将 .html 更改为 .jpg 一个。谢谢。