- 浏览: 59607 次
- 性别:
- 来自: 北京
-
最新评论
文章列表
hibernate.cfg.xml
<session-factory>
<!-- jdbc db2
<property name="dialect">org.hibernate.dialect.DB2Dialect</property>
<property name="connection.driver_class">com.ibm.db2.jcc.DB2Driver</property>
<property name="myeclipse.connect ...
function tijiao(abc){
document.form1.action="/bbs/admin/topic.do?method=piLiang&state="+abc;
document.form1.submit();
}
<form name="form1" method="post" >
<input type="button" value="批量设置 ...
2.1 表单项不能为空
<script language="javascript">
<!--
function CheckForm()
{
if (document.form.name.value.length == 0) {
alert("请输入您姓名!");
document.form.name.focus();
return false;
}
return true;
}
-->
</script>
2.2 比较两个表单项的值是否相同
<script language="javascript ...
2009-06-24 yourgame (CTO)
Js代码
<script language="javascript">
function selectIt() {
form = document.lzyy
action = event.srcElement.name
for (var i = 0; i < form.elements.length; i++) {
if (form.elements[i].name == ...
checkbox1 自己用过的
- 博客分类:
- js效果
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>复选框的全选</title>
</head>
<body>
<script language="JavaScript" type="text/JavaScript">
/* 是否全选标记 */
var checkedAll = f ...