electron how to call nodejs from jquery code example
Example: electron jquery
<script>
if (typeof module === "object") {
window.module = module;
module = undefined;
}
</script>
<script src="../assets/js/jquery-3.5.0.min.js"></script>
<script src="../assets/js/script.js"></script>
<script>
if (window.module) module = window.module;
</script>