日期:2014-05-20  浏览次数:21042 次

各位大侠帮看看啦,,我这代码有问题吗?

<script language="JavaScript" type="text/javascript">  
var str='<%=getstr()%>';

            var t_q = new Array();
            t_q = str.split('|');
            var time=t_q[0];  //时间
            var qishu=t_q[1];//期数


    function GetRTime(ctime)
    {    
        var nS=ctime;  
           
           if (nS<260&&nS>30)
           {
           
            $.ajax({
                type: "get",
                url: "UserAutoBet.aspx",
                dataType: "Json",
                data: "qishu=" + qishu,
                sucess: function () {
                    return true;
                },
                    error:function()
                    {
                        return false;
                    }
            })
           
        }
        
            if (nS < 0) {
                $.ajax({
                    type: "get",
                    url: "Lucky28KJ.aspx",
                    dataType: "Json",
                    data: "qishu=" + qishu,
                    sucess: function () {
                        return true;