I have a WebView in my activity opening html file, containing a simple
javascript.
My problem is that the webview opens the html file, but doesn't
execute the javascript.
When i open the file from web browser, and not from my app, it
executes the javascript correctly.
What could be the difference? Are there any different settings for
running javascript?

here is my file:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script>
        function Tip(){
                document.write("Hello!");
        }
</script>
</head>
<body>
<img src="map.jpg" alt="Planets" usemap="#imgmap" />
<map id="imgmap" name="imgmap">
        <area shape="rect" alt="google" title="" coords="1,1,20,20"
                href="http://www.google.com"; target="" onmouseover="Tip()" />
</map>
</body>
</html>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to