easyui中datagrid的刷新和使用 datagrideasyui 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 点击查询的时候再执行$('#xxoo').datagrid('reload',{st:$('开始日期选择器').datebox('getValue'),et:$('结束日期选择器').datebox('getValue')});你的应该是datebox组件,如果不行改成对应的组件名称 改成这样后,显示重新加载数据,但显示的内容却没变<form name="f1" action="outlets_init.php" method="post" > <input type="text" class="easyui-datebox" id="bt" name="bt" value=<?php echo date('Y-m-d',strtotime('-7 day'))?>> --to--<input type="text" class="easyui-datebox" id="et" name='et' value=<?php echo date('Y-m-d',time())?>> <input type="button" id="but" value="go" > </form> <br> <script >jQuery(document).ready(function(){ $('#but').click(function(){ $('#xxoo').datagrid('reload',{st:$('#bt').datebox('getValue'),et:$('#et').datebox('getValue')}); });});</script> 改成这样后,显示重新加载数据,但显示的内容却没变<form name="f1" action="outlets_init.php" method="post" > <input type="text" class="easyui-datebox" id="bt" name="bt" value=<?php echo date('Y-m-d',strtotime('-7 day'))?>> --to--<input type="text" class="easyui-datebox" id="et" name='et' value=<?php echo date('Y-m-d',time())?>> <input type="button" id="but" value="go" > </form> <br> <script >jQuery(document).ready(function(){ $('#but').click(function(){ $('#xxoo').datagrid('reload',{st:$('#bt').datebox('getValue'),et:$('#et').datebox('getValue')}); });});</script>alert能正确弹出$('#bt').datebox('getValue')的值,是不是传到后台的过程有问题? 参数搞错了,你的是bt,我写成st了,自己要对比下 为什么在IE6和IE7出错了呢? 怎么利用JavaScript在别的页面进行打印? 如何获得属性名? jquery treeview 使用 怎么我在JS里写入有中文的COOKIE,在JS中读出正确,但在ASP中读出为乱码的?我用UTF编码的 看偶做的树形菜单(右键可配置,动态加载)(IP地址动态分配的) jquery mouseover 事件的问题 在javascript中如何判断一个数是整数? 关于嵌入式页面高度的自动调整 文本数据传递问题 看一下这段代码,咋输不出东西啊 jquery中的子集如何得到父级的label标签呢
<form name="f1" action="outlets_init.php" method="post" >
<input type="text" class="easyui-datebox" id="bt" name="bt" value=<?php echo date('Y-m-d',strtotime('-7 day'))?>>
--to--<input type="text" class="easyui-datebox" id="et" name='et' value=<?php echo date('Y-m-d',time())?>>
<input type="button" id="but" value="go" >
</form>
<br>
<script >
jQuery(document).ready(function(){
$('#but').click(function(){
$('#xxoo').datagrid('reload',{st:$('#bt').datebox('getValue'),et:$('#et').datebox('getValue')});
});});
</script>
<form name="f1" action="outlets_init.php" method="post" >
<input type="text" class="easyui-datebox" id="bt" name="bt" value=<?php echo date('Y-m-d',strtotime('-7 day'))?>>
--to--<input type="text" class="easyui-datebox" id="et" name='et' value=<?php echo date('Y-m-d',time())?>>
<input type="button" id="but" value="go" >
</form>
<br>
<script >
jQuery(document).ready(function(){
$('#but').click(function(){
$('#xxoo').datagrid('reload',{st:$('#bt').datebox('getValue'),et:$('#et').datebox('getValue')});
});});
</script>
alert能正确弹出$('#bt').datebox('getValue')的值,是不是传到后台的过程有问题?