0

我已经在 android .epub 上实现了一本电子书,就像测验问题和答案。创建了一个问题并添加了文本框,供用户输入答案的值。在 safari 中检查它的工作正常但在 google play store 中上传并检查文本框被禁用以及单击平板电脑中未打开键盘的文本框时。

代码:

<p class="number">1.&#160;&#160;&#160;&#160;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); });
4

0 回答 0