摘要: //行合并 function _w_table_rowspan(col){ _w_table_firsttd = ""; _w_table_currenttd = ""; _w_table_SpanNum = 0; ... 阅读全文
posted @ 2015-07-10 16:27 雪卜 阅读(776) 评论(0) 推荐(0)
摘要: function view(type) { var dmt,bar; indexOfExpend(); if (type == 1) { dmt = $(document); bar = $(parent.document); } else { ... 阅读全文
posted @ 2015-07-10 16:22 雪卜 阅读(234) 评论(0) 推荐(0)
摘要: window.onload = function(){ try{ if(test && typeof(test) == "function"){ test(); } }catch(e){ alert("方法不存在"); }}function test(){ alert("我是test()... 阅读全文
posted @ 2015-03-05 09:51 雪卜 阅读(4035) 评论(0) 推荐(0)
摘要: //是否存在指定函数 function isExitsFunction(funcName) { try { if (typeof(eval(funcName)) == "function") { return true; } } catc... 阅读全文
posted @ 2015-03-05 09:48 雪卜 阅读(2384) 评论(0) 推荐(0)
摘要: 1、修改数据库字符编码mysql> alter database mydb character set utf8 ;2、创建数据库时,指定数据库的字符编码mysql> create database mydb character set utf8 ;3、查看mysql数据库的字符编码mysql> s... 阅读全文
posted @ 2015-02-09 13:18 雪卜 阅读(350) 评论(0) 推荐(0)
摘要: RedHat Linux (Fedora Core/Cent OS) 1.启动:/etc/init.d/mysqld start2.停止:/etc/init.d/mysqld stop3.重启:/etc/init.d/mysqld restartDebian / Ubuntu Linux 1.启动:... 阅读全文
posted @ 2015-02-09 13:05 雪卜 阅读(2466) 评论(0) 推荐(0)