jsp頁面里的下拉框加載不出下拉框代碼:信息來源:-請選擇-script代碼:$(function(){//頁面加載函數就會執行,頁面加載函數就會執行查詢字典//加載企業性質$.post("${pageContext.request.contextPath}/baseDict_findByTypeCode.action",{"dict_type_code":"007"},function(data){//遍歷JSON數據$(date).each(function(i,n){$("#enterpriseNature").append(""+n.dict_item_name+"");});},"json");});控制臺打印顯示能取到值:BaseDictAction中的findByTypeCode方法執行了....Hibernate:selectbasedict0_.dict_idasdict_id1_0_,basedict0_.dict_type_codeasdict_typ2_0_,basedict0_.dict_type_nameasdict_typ3_0_,basedict0_.dict_item_nameasdict_ite4_0_,basedict0_.dict_item_codeasdict_ite5_0_,basedict0_.dict_sortasdict_sor6_0_,basedict0_.dict_enableasdict_ena7_0_,basedict0_.dict_memoasdict_mem8_0_frombase_dictbasedict0_wherebasedict0_.dict_type_code=?[{"dict_id":"16","dict_item_code":"","dict_item_name":"私營","dict_type_code":"007","dict_type_name":"企業性質"},{"dict_id":"17","dict_item_code":"","dict_item_name":"國企","dict_type_code":"007","dict_type_name":"企業性質"}]小白跪求大神---
有沒有人遇到過這個問題哈!jsp頁面下拉框不能加載數據萬分感謝
江戶川亂折騰
2019-09-26 08:50:19