I am using jQuery mobile library with jquery.cookie.js on Android. The index.html header looks like this:
<link rel="stylesheet" href="css-js/jquery.mobile-1.0a2.min.css" /> <script src="css-js/jquery-1.4.4.min.js"></script> <script src="css-js/jquery.mobile-1.0a2.min.js"></script> <script src="css-js/jquery.cookie.js"></script> <script src="css-js/jquery.ba-dotimeout.js"></script>
Everything else works except save and receive cookies.
The code to save them looks like
var tmp = 'abc' $.cookie(COOKIE_NAME, tmp);
The resulting code looks like
var stored = $.cookie(COOKIE_NAME)
And I'm sure no null or null values ββhave been added. I have installed
mWebView.getSettings().setDomStorageEnabled(true);
for webview.
What could be the problem, or what could be a good way to debug it?
source share