10-06-2020 14:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-06-2020 14:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
How can I get a reference to the image of an Icon Button so I can change the image via JavaScript?

10-18-2020 20:09 - edited 10-18-2020 20:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-18-2020 20:09 - edited 10-18-2020 20:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Did you figure out how to do it?
EDIT: It's just simple as:
<use id="my-button" href="#icon-button" class="medium-button application-fill my-btn" />
And then
document.getElementById('my-button').image = "file.png"

10-19-2020 13:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

10-19-2020 13:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I'll give that a try, thanks

