android - Unable to apply Cascading styles, when used JQuery locally rather than through CDN -


i beginner in android app development using jquery , trying put jquery scripts in local storage, rather referring central depository.

<script src="../www/js/jquery.1.10.2.js"></script> <script src="../www/js/jquery.mobile-1.3.2.js"></script> <link rel="stylesheet" type="text/css" href="../www/css/jquery.mobile.structure-1.3.2.css" /> 

but desired output not getting displayed. have below code in index.html file.

<body>  <div  data-role="page">  <div  data-role="header">hello android</div>  <div  data-role="content">from mani.</div>  <div  data-role="footer">test</div>  </div>  </body> 

plain text displayed rather css elements. checked in previous posts regarding question, , tried out solutions, didn't work. can please help..?

the issue due framework, used; phonegap. expects paths given in absolute manner.

/android_asset/www/js/filename.js , way 1 has give path, in order have our element identified! :)


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -