I'm playing around with Electron for the first time and I can't seem to refresh the content of a div upon clicking on a button. The button click contacts a backend and returns a result which I want to show in the said div (which at the beginning is empty).
I tried to check the win
object to see if there were methods like document.getElementById('...')
but I couldn't seem to find those.
Does anybody know how to update dynamically the content of an HTML element within an Electron application?