这是我的 html 代码 :
<div id="cmdt_1_29d" class="dt_state2" onclick="sel_test(this.id)">
<img id="cmdt_1_29i" onclick="dropit( cmdt_1_29 );"
src="http://hitechpackaging.zes.zeald.com/interchange-5/en_US/ico_minus.png">
<span class="dt_link">
<a href="javascript://">CARTON & BOARD</a>
</span>
</div>
<div id="cmdt_2_31d" class="dt_istate1" onclick="sel_test(this.id)">
<img src="/site/hitechpackaging/images/items/test.jpb ">
<a href="https://secure.zeald.com/hitechpackaging/shop/CARTON%20%20%20%20BOARD/CORRUGATED%20%20CORNER%20BOARD?mv_pc=21497">CORRUGATED & CORNER BOARD</a>
</div>
The dropit function modifies my img src which I dont want to, unfortunately I cant modify, Can I somehow read the data into array before it is being modified and that I can add the data back to the image.