//起始日期
var sDate_his_trade = new Ext.form.DateField({
id:'sDate_his_trade',
format:'Y-m-d',
width:120,
paramName:'_TradeDate[>=][Date]'
});
//截止日期
var eDate_his_trade = new Ext.form.DateField({
id:'eDate_his_trade',
format:'Y-m-d',
width:120,
paramName:'_TradeDate[<=][Date]'
})
var tolbar2_his_trade = new Ext.Toolbar({
height:25,
items:[{
xtype:'tbspacer'
},
{
xtype:'tbspacer'
},
{
xtype:'tbspacer'
},
{
text:"起始日期:",
xtype:'tbtext'
},
sDate_his_trade,
{
xtype:'tbspacer'
},
{
text:"~",
xtype:'tbtext'
},
{
xtype:'tbspacer'
},
{
text:"截止日期",
xtype:'tbtext'
},
eDate_his_trade,
{
xtype:'tbfill'
},
{
xtype:'tbbutton',
text:'查询',
handler:function(){....}
}
]
});
我怎样将文本框中的内容传递到后台,后台怎样获取?