我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

页面加载时清除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 ??

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

The code from this page might help.

近期文章

  • PHP检查是否过了1天[重复]
  • 上传前调整图片大小[关闭]
  • Python脚本检测互联网多个plataform用户的MAC地址,并将其打印在外部php cake文件中[关闭]
  • 带有preg_match()的PHP正则表达式
  • 很好的电子邮件给用户[关闭]
  • MySql请求中出现1064错误[关闭]
  • 语法错误,意外'}' - 怪异[关闭]
  • 如果条件如何执行3? [关闭]
  • 如何组合这个数组PHP [关闭]
  • 使用php或java解析java?
  • PHP使字符串成为有效的php变量
  • 将HTML / PHP系统转换为ASP.net
  • 如何使用url发送php变量
  • 如何在地址栏中隐藏GET变量[重复]
  • 如何将此数组转换为下面的数组[关闭]
  • 使用MySQL插入和选择数组内容?
  • 使用AJAX将数据POST到PHP数据库,然后刷新
  • 如何防止用户两次登录
  • 我有自己的PHP函数有这个错误[关闭]
  • 使用cron系统地更新数据库

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华