"loading" div automatically appended when using cordova (phonegap)

Posted by Vlad Ioffe on Stack Overflow See other posts from Stack Overflow or by Vlad Ioffe
Published on 2012-11-12T16:58:52Z Indexed on 2012/11/12 16:59 UTC
Read the original article Hit count: 241

Filed under:
|

I am using cordova for mobile app development on android platform. I have this html code in www/index.html file:

 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="en" />
    <script src="cordova-2.2.0.js" type="text/javascript"></script>
    <script src="jquery/jquery.js" type="text/javascript"></script>
    <script src="jquery.mobile/jquery.mobile-1.1.0.js" type="text/javascript"></script>
    <script src="JS/main.js" type="text/javascript"></script>
    <link rel="stylesheet" href="CSS/main.css"/>

</head>
    <body id="body" class="body">
        <div id="box" class="bodyBlack">
        </div>
    </body>
</html>

I don't know why but when I am running this app (also when just opening on pc browser) i am having this div appended at the bottom of the page:

<div ui-loader ui-corner-all ui-body-a ui-loader-default>
    <span ui-loader ui-corner-all ui-body-a ui-loader-default></span>
        <h1>loading</h1>

Why and from where dose it getting from? how I am preventing it to do so? Thanks!!!

© Stack Overflow or respective owner

Related posts about android

Related posts about phonegap