博主资料

留言 加为好友 收藏

用户名:  hubin123

个人统计

用户名: hubin123
等级: 初来乍到
威望: 30
积分: 80
在线时间: 0 小时
日志总数: 10
评论数量: 21
访问次数: 29067
建立时间: 2006-12-24
RSS订阅       手机访问

最新评论

文章搜索

文章列表

友情链接

最近访问的人:

2008-04-29 17:09:02
紫竹林
2008-01-11 17:33:08
实战百家乐
2008-01-05 16:46:29
孤独匠人-北京
2007-12-28 09:35:42

日志文章列表

2007年03月01日 11:11:57

js控制只读

答1:
document.formName.textName.readOnly=true
document.formName.textName.readOnly=false
______________________________________________________________________________________________
答2:

<HTM..

阅读全文>>

类别: javaScript |  评论(0) |  浏览(992) |  收藏
2007年03月01日 10:55:48

js修改样式表

document.getElementById("para").style.fontWeight ="bold";
或(其他也是这样):
document.getElementById("para").className ="strong";

阅读全文>>

Tags: js修改样式表  

类别: javaScript |  评论(0) |  浏览(932) |  收藏
2007年01月23日 19:28:56

有趣的JS

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position=&#..

阅读全文>>

Tags: javascript  

类别: javaScript |  评论(1) |  浏览(1142) |  收藏
2006年12月29日 20:21:09

oralce查询一段时间的人

select * from t_nb_grzhxx t where to_char(t.d_zjjfsj,'yyyy-mm-dd') >= '2006-12-27'

阅读全文>>

Tags: oralce  

类别: 无分类 |  评论(1) |  浏览(1527) |  收藏
2006年12月29日 14:31:04

js检查是否是数字

function checkNum(str)
{return str.match(/\D/)==null}

阅读全文>>

类别: javaScript |  评论(1) |  浏览(1264) |  收藏
2006年12月28日 12:53:23

数据库导出xml、htm、csv、sql

<%
'数据库导出记录代码
'作者海娃,haiwa#blueidea.com,http://www.51windows.Net
'用法:
'ExportDB.asp?sql=select语句&tablename=表名(可选)&filetype=导出格式(xml,htm,csv,sql)&pid=自动..

阅读全文>>

类别: 数据库 |  评论(2) |  浏览(1527) |  收藏
2006年12月28日 12:42:05

在本地硬盘写入一个XML文件

package test;

import java.io.*;

public class DOMTest {
     private String inFile = "c:\\people.xml";

     private String outFile = "c:\\people.xm..

阅读全文>>

类别: 无分类 |  评论(0) |  浏览(1157) |  收藏
2006年12月27日 18:42:31

hibernate配置文件与在类中的应用错误

javax.servlet.ServletException: Currentstep is not mapped. [select A.sqlsh from com.ncsei.common.entity.Qcsqdj A,com.ncsei.common.entity.Ywlcsldyb B,Currentstep C where (A.sqlsh=B.ywbh) and (B.lcbh ..

阅读全文>>

类别: 无分类 |  评论(0) |  浏览(1060) |  收藏
2006年12月24日 11:06:27

困扰很久的问题: 为什么一次提交,action会执行两次?

为什么一次提交,action会执行两次?

function pass()
{
var xqId=document.forms[1].xqId.value;
var grJin=document.forms[1].grJin.value;
  if(xqId.length<10)
  {
  alert(&quo..

阅读全文>>

类别: 无分类 |  评论(0) |  浏览(1176) |  收藏
2006年12月24日 10:03:45

如何分析问题和需求

一、提出问题

1.树状遍历式寻找问题

  每个问题都不是单一存在的,它都有相关问题,犹如一棵树一样,主问题就是主树杆,主问题伴随的其他问题,就是支树杆,以次类推。首先不要怕麻烦,每当一个问题提出,必须..

阅读全文>>

类别: 无分类 |  评论(12) |  浏览(1840) |  收藏