Insert "<li>data</li>" on mainWindow on page load


Hi to all,

i’m new in Electron an on my first steps with Javascript, so need some guru help :confused: .
I want to insert some data on mainWindow.html, on page load, an example is to insert:
< li >data< /li >
after some existing < ul id =“help”>< /ul >.

Can someone giv-me a valid example, because i’ve search, but not find a good example to implement this.

Thanks for the help.


Here’s a thorough tutorial on DOM manipulation.


Thanks for the help @DamnedScholar, that and, helped me, to get the implementation.

Best regards