duanjia9577 2014-12-15 12:31
浏览 22

Firefox上的用户输入速度慢,但不是chrome

I have a web page with a little over 1000 text inputs and 100 check boxes created in the following way:

echo"<td><input type='text' id='".$a."-".$b."-inc"."' autocomplete='off'></td>";

the input freezes momentarily when switching between input elements and typing. at first i thought the problem was that firefox retains information on refresh, but with the autocomplete property it no longer does.

when i check the profiler the profiler says messageQueue.push is the culprit.

I am especially confused as chrome is perfectly fine.

any idea what is slowing the input and how to fix it?

  • 写回答

1条回答 默认 最新

  • douao3636 2014-12-15 12:39
    关注

    I think it is because you are using a table. Use div's instead of tables, that's a lot faster.

    echo "<div><input type='text' id='".$a."-".$b."-inc"."' autocomplete='off'></div>";
    
    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度