Need help with Electron loading into BrowerView , Tia

Tia;

    <script src="main.js"></script>
    <body> 
     <div id="controls">
    <button id="back" title="Go Back" disabled="true">&#9664;&#9664;</button>
    <button id="forward" title="Go Forward" disabled="true">&#9654;&#9654;</button>
    <button id="home" title="Go Home">&#8962;</button>
    <button id="reload" title="Reload">&#10227;</button>
    
    <form id="form1">
    <input id="urlAddress" type="text"         value="file:///C:/Electron-js/~~KidSafeBrowser-RESTART/index.html">
     <button id="go" title="Go">Go</button>
     </form>
    </div>
    <browserview>  </browserview>
    </body> 

Now that I have loaded web page into,

view.webContents.loadURL('file:///C:/Electron-js/~~KidSafeBrowser-RESTART/index.html') 

How do I tell Electron to load another.html into the <browserview> </browserview> of the currently loaded ‘index.html’ ?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.