尝试使用bootstrap验证器(http://1000hz.github.io/bootstrap-validator/),它很漂亮,除非我点击“取消”按钮,否则我看不到它如何忽略验证。我在“取消”按钮上尝试了CausesValidation =“false”,但无论如何都会触发验证。任何想法都赞赏。
答案 0 :(得分:0)
Change cancel button type from My table is on **Mysql 5.1**
Operative System: Debian
InnoDB Setup by Default (I have not made any changes on my.cnf), so any suggestion would be fine.
I have 4G available on free memory according free -g command on Debian.
mysql> SHOW VARIABLES LIKE '%buffer%';
+-------------------------+------------+
| Variable_name | Value |
+-------------------------+------------+
| bulk_insert_buffer_size | 8388608 |
| innodb_buffer_pool_size | 2097152000 |
| innodb_log_buffer_size | 1048576 |
| join_buffer_size | 131072 |
| key_buffer_size | 16777216 |
| myisam_sort_buffer_size | 8388608 |
| net_buffer_length | 16384 |
| preload_buffer_size | 32768 |
| read_buffer_size | 131072 |
| read_rnd_buffer_size | 262144 |
| sort_buffer_size | 2097144 |
| sql_buffer_result | OFF |
+-------------------------+------------+
12 rows in set
to submit
If Button Type button
fiddle example
If Button Type type="submit"
fiddle example
Reference on github