- 博客(10)
- 收藏
- 关注
原创 struts2 学习(一)
今天才静下心来,好好看了看 struts2,不过总算是调通了,也比以前预计的晚了几个月!这几个月这可怕了。现在应该好好把握!!
2008-08-06 17:35:05
106
原创 style、 currentStyle、 runtimeStyle介绍
1、用到的基本概念: 内嵌样式(inline Style) :是写在Tag里面的,内嵌样式只对所有的Tag有效。eg:这个Style定义里面的文字是20pt字体,字体颜色是红色。 内部样式(internal Style Sheet):是写在HTML的里面的,内部样式只对所在的网页有效。
2007-09-08 15:43:00
709
原创 获取表单的值或内容
下面是通过JS获取表单内容的:姓名: 要想获得 我 中的值: function sub(){var ch=document.getElementById("userName").value; 或 document.form[0].userName.value; document.getElementById("selec
2007-08-30 11:14:00
703
原创 table 的隐藏和显示
首先用它触发: 调用的函数 : function search(objId,spaceBar){ var _searchArea = document.getElementById("objId"); var _spaceBar = document.getElem
2007-08-30 10:04:00
1757
原创 sql 和 oracle 的语法区别
1:两个字段联合例子 在 sql 中 ,select a+b from table ( a 和 b 分别是table 中的字段,在sql中 用“+”连接 ) 在 oracle 中, select a || b from table ( a 和 b 分别是table 中的字段,在oracle中 用“||”连接 )
2007-08-30 09:31:00
447
原创 获取对象的位置
inputTop = obj.getBoundingClientRect().top; inputBottom = obj.getBoundingClientRect().bottom; inputLeft = obj.getBoundingClientRect().left; inputRight = obj.getBoundingClientRect().right;
2007-08-18 14:58:00
407
原创 学习随笔
window.screen.availWidth 返回当前屏幕宽度(空白空间) window.screen.availHeight 返回当前屏幕高度(空白空间) window.screen.width 返回当前屏幕宽度(分辨率值) window.screen.height 返回当前屏幕高度(分辨率值) window.document.body.off
2007-08-18 10:16:00
340
原创 Hibernate的对象关系影射配置
一、类影射 name="com.gdlinkway.hibernate.学生" //类名 table="学生" //数据库表名 schema="SCOTT" //数据库用户 dynamic-update="true" //动态生
2007-07-14 15:24:00
569
原创 parent.main.content.location
onclick="parent.main.content.location=view.htm;setborder();itemnow.innerText=xwsx.innerText;itemnow.title=xwsx.title" title="修改密码"> 修改密码中功能太强大拉
2007-07-14 14:43:00
647
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人