摘要: <script type="text/javascript" src="http://www.google.com/jsapi"></script>google.load("language", "1");function translate_keyword(){var text = document.getElementById("Laws_keyword").value;google.language.detect(text, function(result){if 阅读全文
posted @ 2013-04-07 09:34 soulfree 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 安装window server 程序:C:\Windows\Microsoft.NET\Framework\v2.0.50727\installutil DataUpdateService.exe net start LuceneServer卸载window server 程序:net stop L... 阅读全文
posted @ 2013-04-07 09:33 soulfree 阅读(286) 评论(0) 推荐(0) 编辑
摘要: WITH RBoardDiscuss_Table(OpenBoardDiscussID,AssociateItemDefinitionID,AssociateItemID) AS(SELECT OpenBoardDiscussID,AssociateItemDefinitionID,Associat... 阅读全文
posted @ 2013-04-07 09:32 soulfree 阅读(1473) 评论(0) 推荐(0) 编辑
摘要: 1.往一个表中添加新的一列并添加默认值alter table ClassToCourse add StuYear int not null default 0 with values;2. 查询分组后的多余的一条数据select * from ChargeStardSet where id in (select max(id) from ChargeStardSet group by ChargeItemId,StuAttendSchool,OgId having count(*) > 1) 阅读全文
posted @ 2013-04-07 09:30 soulfree 阅读(126) 评论(0) 推荐(0) 编辑
摘要: --设置mysql 远程连接访问grant select,update,insert,delete on *.* to root@192.168.11.30 identified by "root";GRANT ALL PRIVILEGES ON *.* TO 'root'@'websv';--语句查询Insert into ori_qk_issue(qcode, year,issue) select 'chenjt','2012','12' from dualwhere not exists( 阅读全文
posted @ 2013-04-07 09:28 soulfree 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1.文本框加上文字水印效果: $("#searchtxt").Watermark({ text: "产品、学科或学段关键字" });2.jQuery对下拉框的操作/获取第一个option的值 $('#test option:first').val(); //最后一个option的值 $('#test option:last').val(); //获取第二个option的值 $('#test option:eq(1)').val(); //获取选中的值 $('#test').val(); $( 阅读全文
posted @ 2013-04-07 09:23 soulfree 阅读(117) 评论(0) 推荐(0) 编辑