pyrebot

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

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

 

 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 on 2014-01-08 11:58  pyrebot  阅读(336)  评论(0编辑  收藏  举报