记录一下最近遇到的一个麻烦
Easyui1.4使用FORM表单无法sumbit提交,即使使用ajax传输,获得的值为空值,经测试只在少部分IE9浏览器上能够正常使用,多数浏览器都无法使用。
<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>