在ubuntu上的intel xdk中使用javascript是否有任何问题。简单的警报消息不会在ubuntu中工作,这与Windows安装相同。
<!DOCTYPE html>
<html>
<head>
<title>Blank App Designer Cordova Web App Project Template</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=no">
<script src="cordova.js" id="xdkJScordova_"></script>
<script src="js/app.js"></script>
<script src="js/init-app.js"></script>
<script src="xdk/init-dev.js"></script>
</head>
<body>
<a href="javascript:void(0);" onclick="alert('hi')">click</a>
</body>
</html>