pyrebot

Better not to ignore the past but learn from it instead. Otherwise, history has a way of repeating itself.

博客园 首页 新随笔 联系 订阅 管理

2014年1月8日 #

摘要: easyui combobox 没有onchange事件,只有onSelect事件 1 $(function () { 2 $('#Select6').combobox({ 3 onSelect: function (record) { 4 var jsonMap = { "year": record.pkey }; 5 $.ajax({ 6 url: "getYearHandler.ashx?action=getdata", 7 type: "post", ... 阅读全文
posted @ 2014-01-08 12:03 pyrebot 阅读(11349) 评论(0) 推荐(0) 编辑

摘要: 1 $(function () { 2 $('#Select6').combobox({ 3 onLoadSuccess: function () { 4 var data = $('#Select6').combobox('getData'); 5 if (data.length > 0) { 6 $('#Select6').combobox('select', data[0].pkey); 7 } 8 } 9 });10 }); ... 阅读全文
posted @ 2014-01-08 11:58 pyrebot 阅读(338) 评论(0) 推荐(0) 编辑