我已经建立了一个使用phonegap 2.0的phonegap应用程序PhoneGap建立Android选择
Works太棒了!
更新时的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>
我不认为这SA配置问题中的一个例子,它是一个问题与最新版本的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/[email protected]" 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和这个问题...
感谢您的反馈,这是我们在childbrowser加载网页,因此它不是“编译”这样与PhoneGap的。即使添加了cordova.js文件,我不相信它没有效果,因为该文件不在注入到phonegap构建中的文件组中。感谢您的意见,问候,亨利 –