日期:2014-05-17  浏览次数:20731 次

新手 写了个js的页面代码,但是不起效果,想问下各位大侠是否是js写错了?
本帖最后由 sun61599536 于 2013-04-17 20:30:56 编辑
这个是页面代码
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBliC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>


<title>创睿微博_设置密码</title>
<base href="<%=basePath%>"/>
<meta http-equiv="keywords" content="创睿,微博,创睿软件技术,安徽创睿" />
<meta http-equiv="description" content="创睿微博注册" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

<link href="css/style_110303.css" type="text/css" rel="stylesheet"/>
<link href="css/style_110303_03.css" type="text/css" rel="stylesheet"/>
<script src="js/jquery-1.4.4.js"></script>
<script src="js/set_oneself_info.js"></script>
<script src="js/jquery.jSelectDate.js"></script>
<script type="text/javascript">
$("body").ready(function(){
//应用方法
$("input.date").jSelectDate({
css:"date",
yearBeign: 1800,
disabled : false
});
});
$(this).jSelectDate
</script>
</head>
<body>
<!-- begin 头部 -->
<div id="headWrap">
<h1 id="logo">
<a style="display:none;" title="t.ourchr.com" href="#">创睿微博</a>
</h1>
<div class="topMenu">
<span class="userName"><a title="adrian(@wuxw920)" href="page.do?pageNo=1">我的帐号</a></span>
<span><a href="#">设置</a></span>
<span><a href="login.jsp">退出</a></span>
</div>
<div id="nav">
<ul>
   <li class="home"><a href="page.do?pageNo=1">我的主页</a></li>
   <li class="people"><a href="#">找人</a></li>
   <li class="topic"><a href="#">找广播</a></li>
   </ul>
   </div>
<div class=tSearch>
<form id=searchForm action="" method=get>
<label for=searchKey>搜名字/帐号/广播 </label>
<input class="inputTxt" id="searchKey" maxLength=50 name="k" autocomplete="off"/>
<input class="inputBtn" type=submit value="搜索"/>
<input type=hidden value="101" name="pos"/>
</form>
</div>
</div>
<!-- end 头部 -->

<div id="mainWrapper" class="clear">
<div class="tabStyle2">
<ul>
<li class="select"><b>个人资料</b></li>

</ul>
</div>
<div class="mainCnt">
    <div class="main">
<form id="tableForm" action="setuserinfo.do" method="post">
<table class="tbList" border="0" cellpadding="0" cellspacing="0">
<tbody>
       &n