jQuery MiniUI
标题:
datagrid1.load() 问题
[打印本页]
作者:
wm920
时间:
2014-8-9 17:52:03
标题:
datagrid1.load() 问题
提交 datagrid1.load() 查询后如何返回值问题.
后台方法如下:
HashMap result = new HashMap();
result.put("a", "a");
result.put("b", "b");
result.put("c", "c");
result.put("d", "d");
String json = Test.JSON.Encode(result);
ServletOutputStream os = response.getOutputStream(); // 获取输出流
os.write(json.getBytes(Charset.forName("UTF-8"))); // 将json数据写入流中
os.flush();
页面如何获取返回值 显示到.
<input class="LABEL" type="text" id="a" name="a">
<input class="LABEL" type="text" id="b" name="b">
<input class="LABEL" type="text" id="c" name="c">
<input class="LABEL" type="text" id="d" name="d">
作者:
dforce
时间:
2014-8-9 23:41:14
你这些输入不都是html的输入框吗,用jquery或者原生方法赋值
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2