小弟发现了一个问题,在js里面连续两行代码调用android中的方法,最后一句没有调用,不知道为什么?<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>TEST!</title>
</head>
<body>
<script language="javascript">
API = window.s.getApi();
window.s.test("s");
</script>
<iframe width="1000" height="600" frameborder=0 scrolling=auto  src="html5/1.html"></iframe>
</body>
</html>
代码只调用了window.scorm.getApi();方法,后面的test方法没有执行
不知道你们有没有发现,帮忙测试下,谢谢啦!AndroidJavaScriptHTML