//获取一个DataTable 将其中两个字段绑定到Select 中。
function GetFoodType() {
            $.ajax({
                type: "POST",
                cache: false,
                dataType: 'json',
                url: 'DishesManageService.ashx?typeName=GetFoodType',
                success: function(result) {
                if (result.Total > 0) {
                        var sel = document.getElementById("selFoodType");
                        var opt = document.createElement('option');
                        for (var i = 0; i < result.Total; i++) {
                            opt.setAttribute('value', result.Rows[i].CATEGORY_CODE.toString());
                            opt.innerText = result.Rows[i].CATEGORY_NAME.toString();
                            sel.appendChild(opt);
                        }
                    }
                }
            });
         }
获取数据成功,绑定也显示成功,但select中不显示内容,
请问什么原因。。