<div class="codetitle"> <span><a style="CURSOR: pointer" data="77993" class="copybut" id="copybut77993" onclick="doCopy('code77993')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code77993"> <br>$.ajax({ <br>type:"POST", <br>url:"../page/user.action?userId=" + userNo, <br>dataType:"json", <br>data:{ <br>"userId":userNo, <br>"userName":username <br>}, <br>success:function(data){ <br>console.info(data.items); <br>console.dir(data.items.length); <br>} <br>}); <br> </div>