Easyui1.4的Form表单无法提交! easyui浏览器 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 看看控制台,估计有js报错 导致未取到值吧,一般是js写法的问题 回楼上两位的,我已经把所有JS全部删掉了,只剩一个FORM表单了,还是不行。点击sumbit没反应,使用ajax传整个form,值为NULL。下面我贴下精简代码,各位可以试试,用的easyui1.4.1 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" src="../ThreePart/jquery-easyui-1.4.1/jquery.min.js"></script> <script type="text/javascript" src="../ThreePart/jquery-easyui-1.4.1/jquery.easyui.min.js"></script> <script type="text/javascript" src="../ThreePart/jquery-easyui-1.4.1/locale/easyui-lang-zh_CN.js"></script> <link rel="stylesheet" type="text/css" href="../ThreePart/jquery-easyui-1.4.1/themes/default/easyui.css"> <link rel="stylesheet" type="text/css" href="../ThreePart/jquery-easyui-1.4.1/themes/icon.css"> <link rel="stylesheet" type="text/css" href="../ThreePart/jquery-easyui-1.4.1/demo/demo.css"> <title>新增专项信息</title> <style type="text/css"> input {height: 20px;} </style> </head> <body class="easyui-layout"> <div data-options="region:'north',border:false" style="height:73px;background:#B3DFDA;padding:10px"></div> <div data-options="region:'west',split:true,title:'暂无',collapsible:true" style="width:150px;padding:10px;"></div> <div data-options="region:'center',collapsible:true,fit:true" title="专项录入" > <table width="1000px" align="center" > <tr><td colspan="6" align="center" style="background:rgb(224, 236, 255);" > <strong >专项录入</strong></td></tr> <form action="/addProject.do" id="ff"> <tr> <td>项目名称</td> <td><input class="easyui-validatebox textbox" type="text" name="projectName" data-options="required:true" value="" /></td> </tr> <tr> <td colspan="6" align="center" > <input class="easyui-linkbutton" value="提交" type="submit" style="width:100px;height:40px"/> </td> </tr> </form> </table> </div></body></html> 麻烦再帮我看看呢,我贴出源码了ajax的代码呢? 好吧我解决问题了··写在博客里了:http://blog.csdn.net/lzlun129/article/details/42420933解决方法只有一句话...别用table嵌套form···· 递归调用js的问题 extjs中formpanel的html内容不能滚动 关于java io 数据流 jquery获取的返回值是乱码,如何处理呢。 如何获取ie当前xml页面中各节点信息?谢谢 save() 里的for循环为什么只循环2次 , j==4 时 在线等 请问如何将一个WEB页面读取到一个变量中 javascript 计算天数问题,简单!!急!!!! 怎么检测字串为 double? currency? 如何用在两次用getTime()中得到两个不同的时间。 Jquery easyui 的tabs当切换的时候 有阴影 怎么解决 js字符串参数转译问题,求大神指点
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../ThreePart/jquery-easyui-1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="../ThreePart/jquery-easyui-1.4.1/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../ThreePart/jquery-easyui-1.4.1/locale/easyui-lang-zh_CN.js"></script>
<link rel="stylesheet" type="text/css" href="../ThreePart/jquery-easyui-1.4.1/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../ThreePart/jquery-easyui-1.4.1/themes/icon.css">
<link rel="stylesheet" type="text/css" href="../ThreePart/jquery-easyui-1.4.1/demo/demo.css">
<title>新增专项信息</title>
<style type="text/css">
input {height: 20px;}
</style>
</head>
<body class="easyui-layout">
<div data-options="region:'north',border:false" style="height:73px;background:#B3DFDA;padding:10px"></div>
<div data-options="region:'west',split:true,title:'暂无',collapsible:true" style="width:150px;padding:10px;"></div>
<div data-options="region:'center',collapsible:true,fit:true" title="专项录入" >
<table width="1000px" align="center" >
<tr><td colspan="6" align="center" style="background:rgb(224, 236, 255);" >
<strong >专项录入</strong></td></tr>
<form action="/addProject.do" id="ff">
<tr>
<td>项目名称</td>
<td><input class="easyui-validatebox textbox" type="text"
name="projectName" data-options="required:true" value="" /></td>
</tr>
<tr>
<td colspan="6" align="center" >
<input class="easyui-linkbutton" value="提交" type="submit" style="width:100px;height:40px"/>
</td>
</tr>
</form>
</table>
</div>
</body>
</html>
解决方法只有一句话...别用table嵌套form····