源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

基于jquery实现发送文章到手机的代码

  • 时间:2021-05-27 00:20 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:基于jquery实现发送文章到手机的代码
前段时间做项目的时候写的一段代码,感觉挺实用,记录下来分享给大家
[url=http://www.1sucai.cn/article/"{APP_PATH}index.php?m=content&c=phone&a=sms]url:"{APP_PATH}index.php?m=content&c=phone&a=sms[/url]",        type:"POST",        dataType:"html",        data:{         "id":"{$id}",         "mobile":phone,         "content":"您订阅的文章《{$title}》地址是:{$url}",         "rip":"{php echo ip()}",        },        error:function(data1,data2){         alert(data2);         alert("提交出错!请稍后重试!");        },        beforeSend:function(){         $("#short_d").hide();         $("#short_n").css("display","block");        },        success:function(data){         $("#fankui_1").css("display","none");         $("#short_d").show();         $("#short_n").css("display","none");         alert(data);        }       });              }else{       $("#p_memssage").html("<td colspan='2'><center><font color='red'>请正确填写你的手机号</font></center></td>");       return false;      }     });     $("#fankui_2").click(function(){      $(this).hide();     })             </script>
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部