为了用DOJO的验证控件,在简单的HTML form用了一个DATETEXTBOX控件,结果IE6下缩成了一个小块input,点击小块下面才能弹出,FF正常。
求解决方案。
<html>
<head>
<script djConfig="parseOnLoad:true,isDebug:false,locale:'zh-cn'" src="./dojo/dojo.js" ></script>
<script type="text/javascript">
dojo.require("dijit.form.Form");
dojo.require("dijit.form.DateTextBox");
dojo.require("dojo.parser");
</script>
<style type="text/css">
@import "http://o.aolcdn.com/dojo/1.0.0/dijit/themes/tundra/tundra.css";
@import "http://o.aolcdn.com/dojo/1.0.0/dojo/resources/dojo.css"
</style>
<title>test</title>
</head>
<body class="tundra">
<form action="/manager/servlet/apply" method="post" name="apply" dojoType="dijit.form.Form">
<table align="center" width="400">
<tr>
<td><label for="cal">test</label></td>
<td><input id="cal" dojoType="dijit.form.DateTextBox" type="text" name="experience"/></td>
</tr>
<tr>
<td><input type="submit" value="提交更改"/></td>
<td><input type="reset" value="重置内容"/></td>
<td><button onclick="javascript:history.back()">返回</button></td>
</tr>
</table>
</form>
</body>
</html>
--
FROM 221.218.185.*