<body background="images/背景.jpg">
<table width="943" height="553" border="0" align="center">
<tr>
<td height="105" colspan="3" background="images/top.jpg" > </td>
</tr>
<tr>
<td height="20" colspan="3" id="td">基本信息</td>
</tr>
<form name="form1" method="post" action="" onSubmit="return check()">
<tr>
<td width="156" height="31" >用户名 *</td>
<td width="293" id="td1"><input type="text" id="username" name="username"/></td>
<td width="480" id="td2">必填,为3-8位</td>
</tr>
<tr>
<td height="31" >真实姓名*</td>
<td id="td1"><input type="text" id="truename" name="truename"/></td>
<td id="td2">必填,只能为中文或英文,如张三,Tom</td>
</tr>
<tr>
<td height="31">密码*</td>
<td id="td1"><input type="password" id="passwd" name="passwd"/></td>
<td id="td2">必填,不能少于6位</td>
</tr>
<tr>
<td height="31">密码确认*</td>
<td id="td1"><input type="password" id="passwordCon" name="passwordCon"/></td>
<td id="td2">再填写一次密码</td>
</tr>
<tr>
<td height="31" colspan="3" id="td">详细信息</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="31" >性别*</td>
<td id="td1">男: <input type="radio" name="gender" id="male" checked>
女:<input type="radio" name="gender" id="femal"/></td>
<td id="td2">必填</td>
</tr>
<tr>
<td height="31" >所在部门*</td>
<td id="td1"><select name="部门" id="部门">
<option value="办公室">办公室
<option value="人事部">人事部
<option value="后勤部">后勤部
<option value="技术部">技术部
<option value="研发部">研发部
<option value="销售部">销售部
</select></td>
<td id="td2">必填</td>
</tr>
<tr>
<td height="31">出生日期*</td>
<td id="td1"><input type="text" name="time" id="time" onClick="WdatePicker()"></td>
<td id="td2">必填</td>
</tr>
<tr>
<td height="31">联系方式*</td>
<td id="td1"><input type="text" id="Tel" name="Tel"/></td>
<td id="td2">必填,11位手机号</td>
</tr>
<tr>
<td height="31">E-mail</td>
<td id="td1"><input type="text" id="mail"/></td>
<td id="td2">正确格式,[email protected]</td>
</tr>
<tr>
<td height="58" colspan="3" align="center"><input name="Register" type="submit" value="提交"/>
<input type="reset" name="Reset" value="重置"> </td>
</tr>
</form>
</table>
</body>这个语句运行没错误,但是导入到myeclipse 10 中后,<form name="form1" method="post" action="" onSubmit="return check()">提示错误,标记(form)的位置无效,can't return from outside a function or method
我的js代码是和上边代码写在一起的
解决方案 »
- 怎么用setBackground(Color)没起作用,没颜色变化
- 【SOS】 实在没办法了 弄了快1天了 脑袋都抓破了 网上搜的办法都用尽了
- Tomcat中 AdminService (wsdl) Version (wsdl) 是如何出现的???
- 请问 hibernate 中配置文件list自动产生的表怎么与另一张表产生一对一的关系
- 请开发过银行项目的大侠回答 谢谢!
- 用eclips进行开发如果调用其它写好的包是不是要将它打包成jar呀
- jb2005中的例子,web service 调试出错,大家帮忙啊
- Struts的一个例子调试问题,会Struts请帮忙!!!
- petstore怎么安装,怎么用啊?
- SSM/Spring5MVC/Spring5/MyBatis/超详细整合(2)
- 给大家拜年了!问个MYySQL的left join 问题
- 注册检测
http://topic.csdn.net/u/20111208/19/e316b448-964e-4174-a78d-a2fe6721d04a.html
此外这个问题已经作为Eclipse的Bug提出了:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=353209