| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 555 人关注过本帖
标题:ASP语言success方法不能执行
只看楼主 加入收藏
fjhtf
Rank: 1
等 级:新手上路
帖 子:83
专家分:0
注 册:2006-4-29
结帖率:46.67%
收藏
 问题点数:0 回复次数:1 
ASP语言success方法不能执行
<img src="yellowimages/tjdd.jpg" style="cursor:hand;" onClick="openDiv('zijiadingdantijiao.asp','<%=zctime%>','<%=GPSERT%>','<%=id%>','<%=zzj%>','<%=zjbx%>','<%=zzzfw%>','<%=SXF%>','<%=ddze%>','<%=isfp%>','<%=fpname%>','<%=fpaddress%>','<%=fppost%>')" />


不能执行以下fuccess方法。是哪里出错了

<script>
function openDiv(jsweb,zuqi,gpsert,id,zjze,bxf,otherfy,sxf,ddze,isfp,fpname,fpaddress,fppost)
{
    document.getElementById('dingdantijiao').style.display='block';
    document.getElementById('bg').style.display='block';
    /*var abc=jsweb+"?rm="+new Date().toString()+"&zuqi="+zuqi+"&gpsert="+gpsert+"&id="+id+"&zjze="+zjze+"&bxf="+bxf+"&otherfy="+otherfy+"&sxf="+sxf+"&ddze="+ddze+"&isfp="+isfp+"&fpname="+fpname+"&fpaddress="+fpaddress+"&fppost="+fppost;
    document.write(abc);*/
    $.ajax({
        url:jsweb+"?rm="+new Date().toString()+"&zuqi="+zuqi+"&gpsert="+gpsert+"&id="+id+"&zjze="+zjze+"&bxf="+bxf+"&otherfy="+otherfy+"&sxf="+sxf+"&ddze="+ddze+"&isfp="+isfp+"&fpname="+fpname+"&fpaddress="+fpaddress+"&fppost="+fppost,
        type:'GET',
        success:function(){
            if(arguments[0].search("订单提交成功!")>0){
                window.location.href='dingdanwancheng.asp';
            }else{
            $('#dingdantijiao').html(arguments[0]);
            }
        }
    });
}

</script>
搜索更多相关主题的帖子: function success cursor 
2012-06-01 16:13
yms123
Rank: 16Rank: 16Rank: 16Rank: 16
等 级:版主
威 望:209
帖 子:12488
专家分:19042
注 册:2004-7-17
收藏
得分:0 
<script>
function openDiv(jsweb,zuqi,gpsert,id,zjze,bxf,otherfy,sxf,ddze,isfp,fpname,fpaddress,fppost)
{
    document.getElementById('dingdantijiao').style.display='block';
    document.getElementById('bg').style.display='block';
    /*var abc=jsweb+"?rm="+new Date().toString()+"&zuqi="+zuqi+"&gpsert="+gpsert+"&id="+id+"&zjze="+zjze+"&bxf="+bxf+"&otherfy="+otherfy+"&sxf="+sxf+"&ddze="+ddze+"&isfp="+isfp+"&fpname="+fpname+"&fpaddress="+fpaddress+"&fppost="+fppost;
    document.write(abc);*/
    $.ajax({
        url:jsweb+"?rm="+new Date().toString()+"&zuqi="+zuqi+"&gpsert="+gpsert+"&id="+id+"&zjze="+zjze+"&bxf="+bxf+"&otherfy="+otherfy+"&sxf="+sxf+"&ddze="+ddze+"&isfp="+isfp+"&fpname="+fpname+"&fpaddress="+fpaddress+"&fppost="+fppost,
        type:'GET',
        async: false,      //ajax同步
        success:function(){
            if(arguments[0].search("订单提交成功!")>0){
                window.location.href='dingdanwancheng.asp';
            }else{
            $('#dingdantijiao').html(arguments[0]);
            }
        }
    });
}

</script>
设置ajax同步请求试试看
2012-06-04 11:05
快速回复:ASP语言success方法不能执行
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.019190 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved