如何在cordova(phonegap)项目中将这些js函数和js调用链接到index.js文件?

时间:2015-07-21 11:30:47

标签: javascript cordova phonegap-build

How can I link these js function and js call to cordova(phonegap) project?
***index file***
here is js functions
<html>  
	<head>    
	
    <script>
function SetStart(ss) {	
    Start0 = ss;
    Init(); 
}
    
function Init() {
    //initialization
}
    </script>
	</head>

    ***.and js call in index file.***
	<body>
		<div id ="links">
			<a href="javascript:SetStart(0)"><img src="img/abc.jpg"></a>
		</div>
	</body>
</html>

0 个答案:

没有答案