Jquery读josn格式数据

  <script>
        var obj = { one: 77, two: 9, three: 5, four: 9, five: 22 };
        $.each(obj, function(key,val) {
            alert(obj[key]);
        });
 </script>

 

posted @ 2020-03-01 15:56  曾小慧  阅读(112)  评论(0编辑  收藏  举报