Ajax call not working in Android Emulator Webview

view story

http://stackoverflow.com – I have a Webview in my Android App. I have a scrollview with images and when you click on a image i load a page into a div. I have tested this in a browser and it works but when I run it in the emulator it does not work? <a href="javascript:ajaxpage('file:///android_asset/preview/pure-white-kitchen.html', 'rightcolumn');"></a> <script type="text/javascript"> var loadedobjects="" var rootdomain="http://"+window.location.hostname function ajaxpage(url, containerid){ var page_request = false if (window.XMLHttpRequest) // if Mozilla, Safari etc page_request = new XMLHttp (HowTos)