我在android .epub上实现了一个电子书,就像测验问答。 创建了一个问题并添加了文本框供用户输入答案值。在检查safari工作正常但上传到谷歌游戏商店并检查文本框被禁用,并点击文本框,而不是打开平板电脑键盘。
代码:
<p class="number">1.    Luke and his brothers were looking for horseshoe crabs in the swamp.<br/>Do you see the horseshoe crabs? What page can you find them on? <input type="color" name="Name" autofocus ="autofocus" onclick="iPadTouchHandler(event)" /><input type="text" class="sml_txt" value="sfsf" id="qs1" /><div class="qs1"><img src='../images/x_16.png' alt='image' class='qs1_wrong' /><img src='../images/tick_16.png' alt='image' class='qs1_tick' /></div></p>
用于验证输入
$('#qs1').on('input', function() { var qs1 = $('#qs1').val(); alert(qs1); });