easyui panel异步获取后台数据在前台显示

我在使用easyui的时候,想做一个向下图所示的效果,这个panel的样式已经做好了,想从后台异步获取json数据,然后填入到文本框中,不知道哪位大神能给点指导?万分感谢!
easyui panel异步获取后台数据在前台显示

放入表单中,使用form对象的load就行了

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 http://www.yxccc.com

$('#ff').form('load',{
name:'name2',
email:'mymail@gmail.com',
subject:'subject2',
message:'message2',
language:5
});
 
上一篇:Swift实战-豆瓣电台(三)获取网络数据


下一篇:使用NSURLSession获取网络数据和下载文件