<asp:Label ID="Label1" runat="server" Text="Label"> </asp:Label> <br /> 
    <asp:Label ID="Label2" runat="server" Text="Label"> </asp:Label> <br />     <script language="javascript" type="text/javascript">         var xmlHttp; 
        function createXMLHttpRequest() { 
            if (window.ActiveXObject) { 
                xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); 
            } 
            else if (window.XMLHttpRequest) { 
                xmlHttp = new XMLHttpRequest(); 
            } 
        }         function GoToNext() { 
            var nextIndex = parseInt(document.getElementById("hidIndex").value) + 1; 
            var url = "WebForm2.aspx?index=" + nextIndex; 
            xmlHttp.open("get", url, false); 
            xmlHttp.send();             if (xmlHttp.readyState == 4 && xmlHttp.status == 200) { 
                //alert(xmlHttp.responseText); 
                Display(xmlHttp.responseText); 
            } 
            
            document.getElementById("hidIndex").value=nextIndex; 
        } 
        window.onload = new function() { 
            createXMLHttpRequest(); 
        }         //显示用户信息 
        function Display(str) { 
            var user = eval(str); 
            var birthday = eval('new ' + user.Birthday.replace('/', '', 'g').replace('/', '', 'g')); 
            document.write(birthday.getFullYear() + "-" + parseInt(birthday.getMonth() + 1) + "-" + birthday.getDate()); 
            document.write(" " + birthday.toLocaleTimeString());             document.getElementById("Label1").innerText = user.LogName; 
            document.getElementById("Label2").innerText = user.UserName; 
        } 
        //这是第一次加载的时候,不用管它 
        window.onload = new function() { 
            Display( <%= s %>); 
        } 
    </script>     <p> 
        //点击按钮,显示下一个用户信息 
        <input type="button" onclick="GoToNext()" value="Next" /> 
    </p> 
    
    <asp:HiddenField ID="hidIndex" runat="server" Value="0" /> 
js代码如上。我想实现点击Next按钮的时候,从ajax读取下个用户信息,并显示在label1和label2上。 从ajax获得的xmlHttp.responseText内容如下: 
HTML code{"Id":2,"LogName":"baichi","Pwd":"baichi","UserName":"白痴","Birthday":"\/Date(504892800000)\/","Province":"浙江省","City":"宁波市","Photo":"UploadedHeadImages/tiny_0j5e_1577m198107[1].jpg","QianMing":"这家伙很懒,什么都没留下。","Email":"","LastLogin":"\/Date(1232689593000)\/","State":2,"Friends":0,"FriendOrders":1,"Articles":4,"Gallerys":2,"Photos":0}显示用户信息的时候,Display(xmlHttp.responseText)有问题了,错误: 缺少";" WHY?????????????????????