Managed to get index.html working on android

This commit is contained in:
Bryan Schumaker 2010-11-16 21:19:47 -05:00
parent 2ef4d146fc
commit c11b824984
2 changed files with 11 additions and 3 deletions

View File

@ -1,9 +1,17 @@
<html> <html>
<head> <head>
<script type="app/javascript" src="test.js" /> <!--<script type="text/javascript" src="test.js"></script>-->
<script type="text/javascript">
function message()
{
document.getElementById("bryan").innerHTML = "Internal javascript test!";
}
</script>
</head> </head>
<body onload=message()> <body>
<!--<a id="bryan" onclick="message();">Text</a>-->
<a href="test.py">Test python</a>
</body> </body>
</html> </html>

View File

@ -1,5 +1,5 @@
function message() function message()
{ {
document.write("External javascript test!") document.getElementById("bryan").innerHTML = "Internal javascript test!";
} }