移动高级开发指南里,使用表格,数据筛选与分页,
.AddInput("startdate","开始日期","date") 日期输入框,点击确定后, 日期框内是空的,不能显示日期,
问题1. 选好日期,点击确定,怎么能让日期框里保留日期值。
问题2. 怎么用代码给这个日期输入框赋值? 尤其是在其他页面部分(case list.htm) 里面给这个日期输入框赋值,
问题3. 怎么能日期发生变化后,就进入list.htm的代码, 节省掉提交点击那个“确定”按钮
Dim wb
As New WeUI
Select
Case e.Path
Case
"filter.htm"
wb.AddForm("","form1","list.htm")
With wb.AddInputGroup("form1","ipg1","数据筛选")
.AddSelect("product","产品","|PD01|PD02|PD03|PD04|PD05")
.AddInput("startdate","开始日期","date")
.AddInput("enddate","结束时间","date")
End
With
With wb.AddButtonGroup("form1","btg1",True)
.Add("btn1", "确定", "submit")
End
With
Case
"list.htm"