pobWxWebview/example/index.html


Home Back
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Example program</title>
</head>

<body>
<script>
function run()
{
    const c = document.getElementById('cmd').value;
    window.pobmsg.postMessage('{"cmd":"'+c+'"}');

}
</script>    
<h2>Run a system program</h2>
<input type="text" id="cmd"  placeholder="insert a command">
<button id="btRun" onclick="run()">run</button>
</body>

</html>

Powered by Code, a simple repository browser by Fabio Di Matteo