<img src="picture_1.png" id="imgHolder"/>
希望在按钮点击时使用indexedDB将图像保存到名为Images的数据库中。
<button id="write" onclick="saveToDB()">Save To DB</button>
另一个按钮将从图像数据库中读取图像以在<div id="resultContent"/>
中显示。
<button id="read" onclick="readFromDB()">Read from DB</button>