html,接收后台数据问题??

图片说明

用的easyui ,前台页面怎么写啊?才能接收后台的值,放到框里?

使用js放值啊 控件是easyui的样式是吗?$("#aaa").textbox('setValue'','sddf')

json。easyui不都是通过异步请求获取json串,然后自己解析的?

http://www.easyui.info/archives/204.html

参考。

http://www.jeasyui.net/demo/331.html

中文官网。

会员号你得把disable改成false

$("aaa").value("张三");

easyui的form有load方法,你返回的数据源json键名称和表单一样就行了



load    data    Load records to fill the form. The data parameter can be a string or a object type, when string acts as a remote URL, otherwise acts as a local record.

Code example:

$('#ff').form('load','get_data.php');   // load from URL

$('#ff').form('load',{
    name:'name2',
    email:'mymail@gmail.com',
    subject:'subject2',
    message:'message2',
    language:5
});

$("#aaa").val("张三");

http://blog.csdn.net/je_ge/article/details/53365189