2013
01-25
01-25
判断Html元素select中的option选项被选中 NEW
<form name="form1"><select name="file_source" size="1" id="file_source" onChange="alert(document.form1.file_source.options[document.form1.file_source.selectedIndex].value)"> <option selected value=""></option> <o...
Read More >
错误SQL 查询:/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;MySQL 返回:#1065 - Query was empty 错误原因:由于4n版本的数据库编码为latin1,5n版本的数据库编码为utf8.导致。解决办法:去掉如下代码/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;/*!40101 SET...