我是新来的
electron
这是我的
package.json
:
{
"name": "hello",
"version": "1.0.0",
"description": "hello app",
"main": "main.js",
"scripts":
{
"start": "electron ."
},
"keywords": [],
"author": "Rushikant Pawar",
"license": "ISC",
"devDependencies":
{
"electron": "2.0.2"
},
"build":
{
"asar": true
}
}
这是我的
index.html
:
Hello World!$(document).ready(function ()
{
window.alert('messageText');
$("#InputData").on("click", function ()
{
var value = $("#searchtext").val();
mainjsfunction(value);
});
});
Hello World!
Input Text
Confirm identity
我的
window.alert
正在工作…但是我的
click
功能和
mainjsfunction
不工作…任何帮助都将不胜感激。提前谢谢。