原创 去掉鏈接時的虛框

去掉鏈接時的虛框只要在你的樣式表中加入以下代碼,就可以去掉鏈接時煩的的虛框 a,area { blr:expression(this.onFocus=this.blur()) } /* for IE */ :focus { -moz-ou

原创 oracle使用筆記

今天小弟安裝了oracle10g,打算用SQLPLUS 登錄數據庫進行操作。打開sqlplus後,可以看到要求輸入用戶名,口令和主機字符串。前面兩個都知道,但是後一個卻不明白,查了資料才知道是安裝時的全局數據庫名,也就是SID. 知道

原创 jsp 獲取地址欄的地址

jsp 獲取地址欄的地址: String   url=request.getScheme()+"://";   url+=request.getHeader("host");   url+=request.getRequestURI

原创 mysql客戶端連接時,報錯:is not allowed to connect to this MySQL server

解決方法如下:   首先使用update把mysql.user中的root的host從localhost修改成%:mysql> UPDATE mysql.user SET Host='%' WHERE Host='localhost' ;

原创 js動態添加刪除表格行

<html>     <head>         <meta http-equiv="Content-Type" content="text/html; charset=gb2312">         <title>增加Table行<

原创 js修改onclick動作的四種方式

第一種:button.onclick = Function("alert('hello');"); 第二種:button.onclick = function(){alert("hello"); }; 第三種:button.onclick