在我的应用程序中,我有一个选择按钮,当我点击它时它会显示多个选项....它适用于 android 4.1,但在 android 2.2 中当我点击它时没有效果所以选项不能被选中....
<section class="fullContainer">
<div class="container">
<div class="descriptionRedeem"></div>
<div class="redeemContent">
<form id="form_SNOWFLYGIFTCARDS">
<p>Select a gift card</p>
<select name="giftName" id="giftId">
<option value="">Select</option>
<option value="1001">Toys</option>
<option value="1002">Cosmetics</option>
<option value="1003">Cloths</option>
</select>
<input type="button" value="Submit" name="submit_snowfly_gc" onclick="submitRedeemPoint()" > <br>
<input type="reset" value="Cancel" name="_eventId_Cancel" >
</form>
</div>
</div>
</section>
最佳答案
我不确定,但值得一试。
<input type="button" value="Submit" name="submit_snowfly_gc" onclick="submitRedeemPoint()" />
<br />
<input type="reset" value="Cancel" name="_eventId_Cancel" />
我假设旧的 android 浏览器足够严格,可以忽略格式不正确的 HTML。
关于android - 选择在 android 2.2 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13414115/