日期:2014-05-16  浏览次数:20779 次

求高手帮看看这代码的问题,帮忙修正
自己弄的域名注册查询。alert(data);返回没有数据。
http://panda.www.net.cn/cgi-bin/check.cgi?area_domain=hichina.com
<?xml version="1.0" encoding="gb2312"?>
<property>
<returncode>200</returncode>
<key>hichina.com</key>
<original>211 : Domain name is not available</original>
</property>
如何返回节点里的内容。

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="Jquery/jquery-1.4.1-vsdoc.js" type="text/javascript"></script>
    <script type="text/javascript">
            $(document).ready(function () {
                $("#button1").click(function () {
                var yuming = $("#text1").val()+".com"
                $.get("http://panda.www.net.cn/cgi-bin/check.cgi?area_domain="+yuming,
                function (data, Status) {
                    alert(data);
                });
            });
        });
    </script>
</head>
<body>
    <div>
        <input id="text1" type="text" /><input id="button1" type="button" value="button" />
    </div>
</body>
</html>
------解决方案--------------------
看来修理好了。