我已经使用 phonegap 2.0 构建了一个 phonegap 应用程序
效果很好!
更新到 phonegap 2.2 时,我失去了下拉菜单的功能
她是我的下拉菜单之一
<select name="ctl00$ContentPlaceHolder2$ddlAgent" onchange="javascript:setTimeout('__doPostBack(\'ctl00$ContentPlaceHolder2$ddlAgent\',\'\')', 0)" id="ctl00_ContentPlaceHolder2_ddlAgent" style="width:90%;text-align:center;">
<option selected="selected" value="1">Option1</option>
<option selected="selected" value="1">Option1</option>
<option selected="selected" value="1">Option1</option>
</select>
我不认为这是配置问题,是最新版本的 phonegap 的问题吗?还是在我的代码中?这是一个开始......这是我的头
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum- scale=1.0"/>
<link rel="apple-touch-icon" sizes="114x114" href="images/splash/splash-icon.png">
<link rel="apple-touch-startup-image" href="images/splash/splash-screen.png" media="screen and (max-device-width: 320px)" />
<link rel="apple-touch-startup-image" href="images/splash/splash-screen@2x.png" media=" (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)" />
<meta name="apple-mobile-web-app-capable" content="yes"/>
<title>DCC On-The-Go</title>
<link href="style/style.css" rel="stylesheet" type="text/css">
<link href="style/retina.css" media="only screen and (-webkit-min-device-pixel-ratio: 2)" rel="stylesheet" />
<link href="style/buttons.css" rel="stylesheet" type="text/css">
<link href="style/photoswipe.css" rel="stylesheet" type="text/css">
<script src="scripts/jquery.js"></script>
<script src="scripts/easing.js"></script>
<script src="scripts/tweetable.js"></script>
<script src="scripts/roundabout.js"></script>
<script src="scripts/contact.js"></script>
<script src="scripts/swipe.js"></script>
<script src="scripts/klass.min.js"></script>
<script src="scripts/photoswipe.js"></script>
<script src="scripts/retina.js"></script>
<script src="scripts/custom.js"></script>
</head>
我现在也将尝试在 2.3 和 2.1 中测试其他版本...
期待大家对phonegap 2.2和这个问题的想法、意见和讨论……