当前位置: 代码迷 >> Java Web开发 >> 求指导一个实现三级下拉框的Jquery或Ajax脚本(已有JSON数据)
  详细解决方案

求指导一个实现三级下拉框的Jquery或Ajax脚本(已有JSON数据)

热度:875   发布时间:2016-04-10 23:01:12.0
求指点一个实现三级下拉框的Jquery或Ajax脚本(已有JSON数据)
JSON数据示例:
[
    {
        "reports": [
            {
                "companies": [
                    {
                        "companyName": "company1"
                    }, 
                    {
                        "companyName": "company2"
                    }
                ], 
                "rptName": "rpt1"
            }, 
            {
                "companies": [
                    {
                        "companyName": "company1"
                    }, 
                    {
                        "companyName": "company2"
                    }
                ], 
                "rptName": "rpt2"
            }
        ], 
        "typeName": "type1"
    }, 
    {
        "reports": [
            {
                "companies": [
                    {
                        "companyName": "company1"
                    }, 
                    {
                        "companyName": "company2"
                    }
                ], 
                "rptName": "rpt1"
            }, 
            {
                "companies": [
                    {
                        "companyName": "company1"
                    }, 
                    {
                        "companyName": "company2"
                    }
                ], 
                "rptName": "rpt2"
            }
        ], 
        "typeName": "type2"
  相关解决方案