zoukankan      html  css  js  c++  java
  • JS解析Json

            $.getJSON("DDSContact.aspx", { "type": "R" }, function (data) {
                        var strHTML = "";
                        $.each(data, function (InfoIndex, Info) {//遍历json里的数据  
                            strHTML += "<tr>";
                            strHTML += "<td><input type='radio' class='rdCheck' name='rdCheck' /></td>";
                            strHTML += "<td>" + Info["NAME"] + "</td>";
                            strHTML += "<td>" + Info["CITY"] + "</td>";
                            strHTML += "<td>" + Info["AIRPORT"] + "</td>";
                            strHTML += "<td>" + Info["ADDRESS"] + "</td>";
                            strHTML += "<td>" + Info["PHONENUMBER"] + "</td>";
                            strHTML += "<td>" + Info["TELNUMBER"] + "</td>";
                            strHTML += "<td>" + Info["EMAIL"] + "</td>";
                            strHTML += "</tr>";
                        });
                        myDialog.content(strHTML); // 填充对话框内容
                    });

                });

  • 相关阅读:
    图像的轮廓发现与绘制
    原图中寻找模板匹配图像
    图像的直方图均衡化
    图像像素的重映射
    图像的采样、DOG
    将本地jar包打包到本地仓库和上传到私服
    boot+Xss防攻击的处理方案
    Springboot入门之分布式事务管理
    CRT破解版
    Springboot关于脚本脚本启动的项目:
  • 原文地址:https://www.cnblogs.com/xhety/p/3313877.html
Copyright © 2011-2022 走看看