1.在jquerymobile开发中如果遇到中文乱码处理如下
在html页面的body中添加
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
2.在jquerymobile开发中如果遇到不能自动适应屏幕大小如下
在html页面的body中添加
<meta name="viewport" content="width=device-width, initial-scale=1">
3.phonegap项目找不到文件
phonegap中www为虚拟网点,所有的本地html文件必须在www以下,访问采用相对路径,采用file协议。