查询状态:<input id="cx" name="cx" class="easyui-combobox" width="50px">
<a href="#" class="easyui-linkbutton" plain="true" onclick="doSearch()">查 询</a>
<table id="dg" title="客流信息查询" class="easyui-datagrid" style="width:1000px;height:250px"
url="queryPeopleStreamController.do?queryPeopleStream"
toolbar="#toolbar" pagination="true"
rownumbers="true" fitColumns="true" singleSelect="true">
<thead>
</thead>
</table>
//查询按钮
function doSearch(){
$('#dg').datagrid('load',{
cx: $('#cx').val()
});
后台通过String itemid = request.getParameter("cx");得到的值为空字符串,要怎么才能获取input标签中选中的值呢 ? 谢谢大神!!!