doucuodan0897 2012-06-26 00:53
浏览 53

页面加载时清除HTML [关闭]

I have an HTML form, while browsing the page some fields is populated with default values, I want the form to be clear when the user open the page, so I tried doing so in javascript document.onload() but the problem is that the code within it executes before the form elements is loaded so I can't manipulate them.. what to do ??

  • 写回答

2条回答 默认 最新

  • douben1891 2012-06-26 01:10
    关注

    Couldn't that behaviour be caused by the "form auto-complete" feature of your browser?

    评论

报告相同问题?

悬赏问题

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