pyrebot

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

博客园 首页 新随笔 联系 订阅 管理
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", 8 data: jsonMap, 9 datatype: "json", 10 success: function (data) { 11 var obj = eval('(' + data + ')'); 12 dosomething(obj); 13 } 14 }); 15 } 16 }); 17 });

 

posted on 2014-01-08 12:03  pyrebot  阅读(11319)  评论(0编辑  收藏  举报