我有以下 img 标签,
<img id="image1" src="URL" alt="image1" name="image1" width="137" height="119" border="0" style="position: relative; left: -355px; top: 62px;" >
我想以某种方式,点击,将以下项目存储到单独的变量中..
style="position: relative; left: -355px; top: 62px;"
var left = -355px
var top = 62px
那可能吗?谢谢!