Warning: Error while sending QUERY packet. PID=28226 in /www/wwwroot/www.apieye.com/wp-includes/wp-db.php on line 1877

Warning: Error while sending QUERY packet. PID=28226 in /www/wwwroot/www.apieye.com/wp-includes/wp-db.php on line 1877

Warning: mysqli_query(): MySQL server has gone away in /www/wwwroot/www.apieye.com/wp-includes/wp-db.php on line 1877

Warning: mysqli_query(): Error reading result set's header in /www/wwwroot/www.apieye.com/wp-includes/wp-db.php on line 1877

Warning: mysqli_query(): MySQL server has gone away in /www/wwwroot/www.apieye.com/wp-includes/wp-db.php on line 1877

Warning: mysqli_query(): Error reading result set's header in /www/wwwroot/www.apieye.com/wp-includes/wp-db.php on line 1877
 十二月 | APIEYE
  • 点击按钮button异常提交表单的原因

    如果表单中含有按钮用作它用而非submit,点击时也会提交表单,是因为 在Internet Explorer 的默认类型是 “button”,而其他浏览器中(包括 W3C 规范)的默认值是 “submit”。 解决办法: 1、放弃使用button标签,改用input type=’button’. 2、继续使用button标签,但是指定其 type为 button. 阅读全文
    作者:Jazzy | 分类:html | 阅读: 浏览数 | 标签: