我正在尝试从 style 更改 url(herf) 。核实
<iframe src="https://www.website.com/............" heght="100%" width="100%" >
#document
<!DOCTYPE html>
<html>
<head></head>
<body>
<a class="class" href="https://www.website.com/-----" style="background: url("https://www.website.com/abc.png") center center / 100% no-repeat; width: 110px; height: 26px;"></a>
</body>
</html>
<iframe>
我想用 javascript 更改图片 url
: style="background: url("https://www.website.com/abc.png")
使用另一个网址。
像那样
: style="background: url("https://www.website.com/xyz.png")
图像 xyz.png 中的重要更改。